Sha256: aa1764667c000453d6108bcb721437b4097a0ffcbac20a92653db074e48f8adc

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 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' } %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
amcharts.rb-3.4.7.2 app/views/amcharts/_data_source.erb
amcharts.rb-3.4.7.1 app/views/amcharts/_data_source.erb