Sha256: e1ccd768d504c51e7f3fc81efde0d76f6342cea465e1bf449f76d23fe80f1d89

Contents?: true

Size: 195 Bytes

Versions: 4

Compression:

Stored size: 195 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: :point
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 examples/readme/02-type-point.rb
squid-1.0.0.beta3 examples/readme/02-type-point.rb
squid-1.0.0.beta2 examples/readme/02-type-point.rb
squid-1.0.0.beta1 examples/readme/02-type-point.rb