Sha256: 74918be6c4a64bda033786cc1564bb1fd32f4c4ca062e3a435e57685d0769a44

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 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, labels: true, format: :percentage
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta2 examples/readme/15-multiple-columns.rb
squid-1.0.0.beta1 examples/readme/15-multiple-columns.rb