Sha256: 100a6991a46fb11326ca2552eaf631950fee5c6d9031b86f61c881cdebbb1820

Contents?: true

Size: 276 Bytes

Versions: 4

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, type: :stack, format: :percentage
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 examples/readme/16-multiple-stacks.rb
squid-1.0.0.beta3 examples/readme/16-multiple-stacks.rb
squid-1.0.0.beta2 examples/readme/16-multiple-stacks.rb
squid-1.0.0.beta1 examples/readme/16-multiple-stacks.rb