Module: ChartBibz::Helpers::ChartHelper
- Defined in:
- lib/chart_bibz/helpers/chart_helper.rb
Overview
Helper for chart bibz
Instance Method Summary collapse
-
#chart(data = {}, options = {}, html_options = {}) ⇒ String
Generate the html of the canvas.
Instance Method Details
#chart(data = {}, options = {}, html_options = {}) ⇒ String
Generate the html of the canvas
22 23 24 |
# File 'lib/chart_bibz/helpers/chart_helper.rb', line 22 def chart(data = {}, = {}, = {}) ChartBibz::ViewComponents::ChartViewComponent.new(data, , ).render end |