Sha256: 3f064cc1e05c310e5391ce5012de3c02bf15f178c5c4e08d5b8821c0011b9d4b

Contents?: true

Size: 326 Bytes

Versions: 8

Compression:

Stored size: 326 Bytes

Contents

var exportConfig = {};
<% builder.render_settings(export, 'exportConfig') %>
<% export.menus.each.with_index do |m, i| %>
  var menu = {};
  <% if i == 0 %>
    exportConfig.menuItems = [];
  <% end %>
  <% builder.render_settings(m, 'menu') %>
  exportConfig.menuItems.push(menu);
<% end %>
chart.exportConfig = exportConfig;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
amcharts.rb-3.11.2.17 app/views/amcharts/_export.erb
amcharts.rb-3.11.2.16 app/views/amcharts/_export.erb
amcharts.rb-3.11.2.14 app/views/amcharts/_export.erb
amcharts.rb-3.11.1.14 app/views/amcharts/_export.erb
amcharts.rb-3.4.8.0 app/views/amcharts/_export.erb
amcharts.rb-3.4.7.5 app/views/amcharts/_export.erb
amcharts.rb-3.4.7.4 app/views/amcharts/_export.erb
amcharts.rb-3.4.7.3 app/views/amcharts/_export.erb