# By default, chart plots a column chart. # # You can use the :type option to plot a line chart instead. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {views: {Safari: 45.20001, Firefox: 63.3999, Chrome: 21.4}} chart data, type: :line end