Sha256: 0662e3e47adea4abee10c602b70bdf6b5ae793e9e2a2bf01c4ccace9330df332

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

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
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta2 examples/readme/17-two-axis.rb
squid-1.0.0.beta1 examples/readme/17-two-axis.rb