examples/squid/baseline.rb in squid-1.0.0.beta2 vs examples/squid/baseline.rb in squid-1.0.0.beta3
- old
+ new
@@ -2,8 +2,8 @@
#
# You can use the <code>:baseline</code> option to disable this behavior.
#
filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
- data = {views: {2013 => 182, 2014 => 46, 2015 => 802000000000000000}}
- chart data, baseline: false, format: :float
+ data = {earnings: {2013 => 182, 2014 => 46, 2015 => 8020}}
+ chart data, baseline: false, formats: [:currency]
end