Sha256: c820405fa45a3d786d8e05f81d56f98fd79be978bd366a9748b761932733b34a
Contents?: true
Size: 339 Bytes
Versions: 2
Compression:
Stored size: 339 Bytes
Contents
# By default, <code>chart</code> plots a column chart. # # You can use the <code>:type</code> option to plot a line chart instead. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {views: {Safari: 45.20001, Firefox: 63.3999, Chrome: 21.4}} chart data, type: :line end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
squid-1.0.0.beta2 | examples/squid/line.rb |
squid-1.0.0.beta1 | examples/squid/line.rb |