Sha256: 463f17f83e8a73440cdd9b35e87d3b58fe2d901cacb0a111a7e9177fa8da81fd
Contents?: true
Size: 628 Bytes
Versions: 10
Compression:
Stored size: 628 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 %> window.addEventListener('DOMContentLoaded', function() { 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
10 entries across 10 versions & 1 rubygems