Sha256: b1bc10aad3eb50899379f6d42b65369d5c258d1f3b400a4fd0a20db766e66c19

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
  data = {safari:  {2013 => 53.2, 2014 => 56.1, 2015 => 60.7}, firefox:  {2013 => 46.8, 2014 => 43.9, 2015 => 39.3}}
  chart data, type: :line, colors: ['6f3d79', '7d807f'], formats: [:percentage, :percentage], line_widths: [0.5, 6], labels: [true, true]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 examples/readme/18-plural-options.rb
squid-1.0.0.beta3 examples/readme/18-plural-options.rb