Sha256: 62f4fc4aaa6d3050d6f4c7cdf911a801666220a6bb78c48bc97cf60b29735288
Contents?: true
Size: 316 Bytes
Versions: 2
Compression:
Stored size: 316 Bytes
Contents
# By default, .. # # You can use .. filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {views: {2013 => 182, 2014 => 46, 2015 => 88}, earnings: {2013 => 104_323, 2014 => 27_234, 2015 => 14_123}} chart data, type: :two_axis, border: true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
squid-1.0.0.beta2 | examples/squid/two_axis.rb |
squid-1.0.0.beta1 | examples/squid/two_axis.rb |