Sha256: df30dd31e683329c7c18973514ccac478c4a747391aafb3a7c10ecde92e038be
Contents?: true
Size: 322 Bytes
Versions: 2
Compression:
Stored size: 322 Bytes
Contents
filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {safari: {2013 => 53.2, 2014 => 56.1, 2015 => 60.7}, firefox: {2013 => 46.8, 2014 => 43.9, 2015 => 39.3}} chart data, type: :line, color: '6f3d79', format: :percentage, line_width: 0.5, label: true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
squid-1.0.0.beta4 | examples/readme/17-singular-options.rb |
squid-1.0.0.beta3 | examples/readme/17-singular-options.rb |