Sha256: f3a4049be76b95e5011317012fd60d5b0e458c2ddd03740368e815e425677ae9

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
  data = {safari:  {2013 => 43.2, 2014 => 46.1, 2015 => 50.7}, firefox:  {2013 => 56.8, 2014 => 53.9, 2015 => 49.3}}
  chart data, label: true, format: :percentage
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 examples/readme/15-multiple-columns.rb
squid-1.0.0.beta3 examples/readme/15-multiple-columns.rb