Class: IRuby::Chartkick::BarChart
- Defined in:
- lib/iruby/chartkick/bar_chart.rb
Constant Summary
Constants inherited from BaseChart
IRuby::Chartkick::BaseChart::ArgumentModifier
Instance Method Summary collapse
Methods inherited from BaseChart
#adapter_javascript, #chartkick_javascript, #initialize, #javascripts, #js_prefix, #randomized_dom_id
Constructor Details
This class inherits a constructor from IRuby::Chartkick::BaseChart
Instance Method Details
#plot(*args) ⇒ Object
5 6 7 |
# File 'lib/iruby/chartkick/bar_chart.rb', line 5 def plot(*args) ::IRuby.html(js_prefix + (@data, **ArgumentModifier[args, self])) end |