Sha256: b58ce7855e1df681a6df2b530150ae1bcabb639d0c341510c998fb4a8efeb0ba

Contents?: true

Size: 543 Bytes

Versions: 4

Compression:

Stored size: 543 Bytes

Contents

<%= content_tag(:div, "",
    aria: object.aria,
    id: object.id,
    data: object.data,
    class: object.classname("pb_line_graph") 
    ) %>
<% content_for :pb_js do %>
  <%= javascript_tag do %>
    new pbChart('.selector', {
      id: "<%= object.id %>",
      chartData: <%= object.chart_data %>,
      type: "<%= object.chart_type %>",
      title: "<%= object.title %>",
      subtitle: "<%= object.subtitle %>",
      axisTitle: "<%= object.axis_title %>",
      pointStart: <%= object.point_start %>,
    });
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
playbook_ui-2.8.5 app/pb_kits/playbook/pb_line_graph/_line_graph.html.erb
playbook_ui-2.8.4 app/pb_kits/playbook/pb_line_graph/_line_graph.html.erb
playbook_ui-2.8.3 app/pb_kits/playbook/pb_line_graph/_line_graph.html.erb
playbook_ui-2.8.1 app/pb_kits/playbook/pb_line_graph/_line_graph.html.erb