Sha256: 4064591f5973d0248b5b79566f3541d841cf6ed061efcf7856ef31c59e2cd5ec
Contents?: true
Size: 564 Bytes
Versions: 4
Compression:
Stored size: 564 Bytes
Contents
<% if builder.chart.defer? %> var data_source = '<%= data_source %>', params = <%= builder.to_js(params) %>, method = '<%= method %>'; chart.remoteProvider = new AmCharts.RB.RemoteJSONProvider(chart, data_source, params, method); <% else %> chart.remoteProvider = immediateRemoteProvider; immediateRemoteProvider.chart = new AmCharts.RB.Chart(chart); <% end %> <% if builder.chart.loading_indicator? %> <%= builder.render_js 'listener', locals: { type: :dataUpdated, method: 'AmCharts.RB.Helpers.hide_loading_indicator', var_name: 'chart' } %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems