Sha256: e6cc8f010c80deb4137c3d2ab59b670b92f198273b2f8138b4a0fd3e7b6bba7a

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 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_width: 10
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 examples/readme/03-type-line.rb
squid-1.0.0.beta3 examples/readme/03-type-line.rb