Sha256: c6cb65bb60b6c5dc304fc20dca48ccd9f378f3bb2c65e8b937cb40ad38a3440b
Contents?: true
Size: 560 Bytes
Versions: 10
Compression:
Stored size: 560 Bytes
Contents
<% if chart.pie? %> chart.valueField = <%= builder.to_js(chart.value_field) %>; chart.titleField = <%= builder.to_js(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
10 entries across 10 versions & 1 rubygems