A line chart is a way of plotting data points on a line. Often, it is used to show trend data, or the comparison of two data sets.
25 26 27 28 29
# File 'lib/chart_js.rb', line 25 def self.line(&block) chart = Chart.new chart.type('line') chart.build(&block) end