examples/squid/points.rb in squid-1.0.0.beta2 vs examples/squid/points.rb in squid-1.0.0.beta3
- old
+ new
@@ -3,7 +3,7 @@
# 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: {2013 => 182, 2014 => 46, 2015 => 88},
uniques: {2013 => -104, 2014 => 27, 2015 => 14}}
- chart data, type: :point, labels: true
+ chart data, type: :point, labels: [false, true], formats: []
end