Sha256: 2571860f76da3256954b071200bfb45de965b9e1ca708a70594b6dd5e6b5dbad
Contents?: true
Size: 615 Bytes
Versions: 2
Compression:
Stored size: 615 Bytes
Contents
<%= content_tag(:div, "", aria: object.aria, id: object.id, data: object.data, class: object.classname) %> <% content_for :pb_js do %> <%= javascript_tag do %> window.addEventListener('DOMContentLoaded', function() { new pbChart('.selector', { id: "<%= object.id %>", chartData: <%= object.sanitized_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-2.9.5 | app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb |
playbook_ui-2.9.4 | app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb |