Sha256: a9996ed6decced6936d21b3d39227f0086e265e6d17f5ef1dc5963824c40f48d
Contents?: true
Size: 341 Bytes
Versions: 11
Compression:
Stored size: 341 Bytes
Contents
# By default, <code>chart</code> plots a column chart. # # You can use the <code>:type</code> option to plot a point 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: :point end
Version data entries
11 entries across 11 versions & 1 rubygems