Sha256: 46b93bbf648fa22d25ad53dafee14514657df647d853b8bf249fc44c0cddd077

Contents?: true

Size: 203 Bytes

Versions: 2

Compression:

Stored size: 203 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: {offset: 50}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squid-1.0.0.beta2 examples/readme/10-legend-offset.rb
squid-1.0.0.beta1 examples/readme/10-legend-offset.rb