Sha256: a953ce0df9261acc58bf02c0fbde7cba79e627202288e6eee1b2e3fa51563e17
Contents?: true
Size: 380 Bytes
Versions: 9
Compression:
Stored size: 380 Bytes
Contents
# By default, <code>chart</code> plots a baseline at the bottom of the graph. # # You can use the <code>:baseline</code> option to disable this behavior. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {earnings: {2013 => 182, 2014 => 46, 2015 => 8020}} chart data, baseline: false, formats: [:currency] end
Version data entries
9 entries across 9 versions & 1 rubygems