Sha256: 6f4f16f0fd6aea3b708c6d13a5f6adb0f5e22f9f561b3ee970871befa40d65a8

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 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, legend: {right: 50, bottom: 50}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 examples/readme/10-legend-offset.rb
squid-1.0.0.beta3 examples/readme/10-legend-offset.rb