examples/squid/line.rb in squid-1.0.0.beta2 vs examples/squid/line.rb in squid-1.0.0.beta3
- old
+ new
@@ -3,7 +3,7 @@
# 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
+ chart data, type: :line, line_width: 0.25
end