Sha256: e2ad6c571071ca7f8a08d304b8207f8ee8c29bdd45e3c1c2618da77addd11765

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
  data = {views: {2013 => 182, 2014 => 46, 2015 => 134}}
  chart data, type: :line, line_widths: [10]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta2 examples/readme/03-type-line.rb
squid-1.0.0.beta1 examples/readme/03-type-line.rb