# By default, chart generates charts with a height of 250. # # You can use the :height option to manually set the height. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {views: {2013 => 18.2, 2014 => 4.6, 2015 => 10.2}} chart data, height: 350 end