Sha256: a4d8171e6a9486d3d07cb37d0f08613e0437ef3db6e4724e0133dad76d76d1b5

Contents?: true

Size: 195 Bytes

Versions: 2

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, labels: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta2 examples/readme/12-labels.rb
squid-1.0.0.beta1 examples/readme/12-labels.rb