Sha256: aa21d37ac6dc50a9d859f3d42f00d3ff4824f5a60e63af00167ca9b40e328f92
Contents?: true
Size: 419 Bytes
Versions: 3
Compression:
Stored size: 419 Bytes
Contents
# You can specify the format of the axis values with the <code>:format</code> option. # # Valid options are: <code>:percentage</code>, <code>:currency</code>, <code>:seconds</code>, <code>:float</code>. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {views: {Safari: 45.20001, Firefox: 33.3999, Chrome: 21.4}} chart data, format: :percentage end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
squid-1.0.0.beta3 | examples/squid/format.rb |
squid-1.0.0.beta2 | examples/squid/format.rb |
squid-1.0.0.beta1 | examples/squid/format.rb |