examples/squid/lines.rb in squid-1.0.0.beta2 vs examples/squid/lines.rb in squid-1.0.0.beta3

- old
+ new

@@ -3,9 +3,9 @@ # 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: {2013 => 182, 2014 => -46, 2015 => 88}, uniques: {2013 => 104, 2014 => 27, 2015 => 14}} - chart data, type: :line, labels: true + chart data, type: :line, labels: [false, true], formats: %i(percentage percentage), line_widths: [0.5] end