Sha256: 9b957a2167a3a16e1bb7d2b1bdbfe6c958fef1a3b857272f7651c79ec8197798
Contents?: true
Size: 534 Bytes
Versions: 7
Compression:
Stored size: 534 Bytes
Contents
<% if chart.pie? %> chart.valueField = '<%= chart.value_field %>'; chart.titleField = '<%= chart.title_field %>'; <% else %> <%#= render(layout: 'amcharts/collection', object: chart.graphs, locals: { builder: builder, name: :graph, type: 'AmGraph' }) do |obj, var| %> <%= builder.render_js('collection', template_type: :layout, object: chart.graphs, locals: { name: :graph, type: 'AmGraph' }) do |obj, var| %> <%= var %>.valueField = '<%= obj.value_field %>'; <%= var %>.type = '<%= obj.type %>'; <% end %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems