Sha256: 7222b10426005249a6cbe6c0b9da18d83308d214e3348baf663da5135124f055

Contents?: true

Size: 540 Bytes

Versions: 4

Compression:

Stored size: 540 Bytes

Contents

<%= content_tag(:div, "",
    aria: object.aria,
    id: object.id,
    data: object.data,
    class: object.classname("pb_bar_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_bar_graph/_bar_graph.html.erb
playbook_ui-2.8.4 app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb
playbook_ui-2.8.3 app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb
playbook_ui-2.8.1 app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb