Class: IRuby::Chartkick::GeoChart

Inherits:
BaseChart
  • Object
show all
Defined in:
lib/iruby/chartkick/geo_chart.rb

Constant Summary

Constants inherited from BaseChart

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/geo_chart.rb', line 5

def plot(*args)
  ::IRuby.html(js_prefix + geo_chart(@data, **ArgumentModifier[args, self]))
end