lib/chartkick/helper.rb in chartkick-1.2.2 vs lib/chartkick/helper.rb in chartkick-1.2.3

- old
+ new

@@ -22,9 +22,13 @@ def area_chart(data_source, options = {}) chartkick_chart "AreaChart", data_source, options end + def geo_chart(data_source, options = {}) + chartkick_chart "GeoChart", data_source, options + end + private def chartkick_chart(klass, data_source, options, &block) @chartkick_chart_id ||= 0 options = options.dup