examples/readme/12-labels.rb in squid-1.0.0.beta2 vs examples/readme/12-labels.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 = {views: {2013 => 182, 2014 => 46, 2015 => 134}}
- chart data, labels: true
+ chart data, label: true
end