lib/chartkick/helper.rb in chartkick-3.3.0 vs lib/chartkick/helper.rb in chartkick-3.3.1

- old
+ new

@@ -2,38 +2,38 @@ require "erb" module Chartkick module Helper def line_chart(data_source, **options) - chartkick_chart "LineChart", data_source, options + chartkick_chart "LineChart", data_source, **options end def pie_chart(data_source, **options) - chartkick_chart "PieChart", data_source, options + chartkick_chart "PieChart", data_source, **options end def column_chart(data_source, **options) - chartkick_chart "ColumnChart", data_source, options + chartkick_chart "ColumnChart", data_source, **options end def bar_chart(data_source, **options) - chartkick_chart "BarChart", data_source, options + chartkick_chart "BarChart", data_source, **options end def area_chart(data_source, **options) - chartkick_chart "AreaChart", data_source, options + chartkick_chart "AreaChart", data_source, **options end def scatter_chart(data_source, **options) - chartkick_chart "ScatterChart", data_source, options + chartkick_chart "ScatterChart", data_source, **options end def geo_chart(data_source, **options) - chartkick_chart "GeoChart", data_source, options + chartkick_chart "GeoChart", data_source, **options end def timeline(data_source, **options) - chartkick_chart "Timeline", data_source, options + chartkick_chart "Timeline", data_source, **options end private def chartkick_chart(klass, data_source, **options)