Sha256: 03a0d77875d1cfd47d40b4d1bd585063b6217a7a82eee10af4ed47bd0505bfba
Contents?: true
Size: 347 Bytes
Versions: 11
Compression:
Stored size: 347 Bytes
Contents
# By default, <code>chart</code> generates charts with a height of 250. # # You can use the <code>:height</code> 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
Version data entries
11 entries across 11 versions & 1 rubygems