Sha256: fdead97705bfe5577b2dd8a98e429baf75f2bdd79a37bb4f459ba64655008469

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
  data = {views: {2013 => 182/3.62, 2014 => 46/3.62, 2015 => 134/3.62}}
  chart data, format: :percentage
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
squid-1.0.0.beta4 examples/readme/11-format.rb
squid-1.0.0.beta3 examples/readme/11-format.rb
squid-1.0.0.beta2 examples/readme/11-format.rb
squid-1.0.0.beta1 examples/readme/11-format.rb