examples/readme/15-multiple-columns.rb in squid-1.0.0.beta2 vs examples/readme/15-multiple-columns.rb in squid-1.0.0.beta3
- old
+ new
@@ -1,5 +1,5 @@
filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
data = {safari: {2013 => 43.2, 2014 => 46.1, 2015 => 50.7}, firefox: {2013 => 56.8, 2014 => 53.9, 2015 => 49.3}}
- chart data, labels: true, format: :percentage
+ chart data, label: true, format: :percentage
end