Sha256: 7d45b5bfccc96b7aa69a47a73e9ea73e8e57b9f68e5137c96c4f96329d84828c
Contents?: true
Size: 380 Bytes
Versions: 11
Compression:
Stored size: 380 Bytes
Contents
# By default, <code>chart</code> uses a line width of 3 for line charts. # # You can use the <code>:line_width</code> option to customize this value. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {views: {2013 => 182, 2014 => 46, 2015 => 802000000000000000000}} chart data, type: :line, line_width: 10 end
Version data entries
11 entries across 11 versions & 1 rubygems