Sha256: 7ecde4dd67abfe815e5a82dbed0b09b1724b5066918791e57322010ff69b6f3e

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

var data_source = '<%= data_source %>', params = <%= builder.to_js(params) %>, method = '<%= method %>';
chart.remoteProvider = new AmCharts.RB.RemoteJSONProvider(chart, data_source, params, method);
<% unless builder.chart.defer? %>
  chart.remoteProvider.load();
<% 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

Version Path
amcharts.rb-3.4.8.0 app/views/amcharts/_data_source.erb
amcharts.rb-3.4.7.5 app/views/amcharts/_data_source.erb
amcharts.rb-3.4.7.4 app/views/amcharts/_data_source.erb
amcharts.rb-3.4.7.3 app/views/amcharts/_data_source.erb