Sha256: beb683afae8ae3c5bc3d06e6692b148c8e78541608d0f888e90ed87c449d32be
Contents?: true
Size: 537 Bytes
Versions: 3
Compression:
Stored size: 537 Bytes
Contents
# By default, .. # # You can use .. filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {'Earnings' => {'2011' => 52, '2012' => 71, '2013' => 93, '2014' => 74}, 'Views' => {'2011' => 0, '2012' => 4, '2013' => 3, '2014' => 5}, 'Uniques' => {'2011' => 1, '2012' => 3, '2013' => 0, '2014' => 1}} chart data, type: :two_axis, height: 150, labels: [true, false, false], formats: [:currency, :integer], line_width: 0.5, colors: ['6f3d79', '7d807f'] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
squid-1.4.1 | examples/squid/two_axis.rb |
squid-1.4.0 | examples/squid/two_axis.rb |
squid-1.3.0 | examples/squid/two_axis.rb |