Sha256: 925d7850051c643c1099b4ab1013acf43138db16be76c8d4636923e01fb6975b
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {earnings: {2013 => 104_323, 2014 => 27_234, 2015 => 74_123}, views: {2013 => 182, 2014 => 46, 2015 => 88}, uniques: {2013 => 153, 2014 => 36, 2015 => 78} } chart data, type: :two_axis end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
squid-1.0.0.beta4 | examples/readme/19-two-axis.rb |
squid-1.0.0.beta3 | examples/readme/19-two-axis.rb |