examples/squid/format.rb in squid-1.0.0.beta3 vs examples/squid/format.rb in squid-1.0.0.beta4

- old
+ new

@@ -2,8 +2,8 @@ # # Valid options are: <code>:percentage</code>, <code>:currency</code>, <code>:seconds</code>, <code>:float</code>. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do - data = {views: {Safari: 45.20001, Firefox: 33.3999, Chrome: 21.4}} - chart data, format: :percentage + data = {views: {Safari: 45.20001, Firefox: 33.3999, Chrome: nil}} + chart data, format: :percentage, label: true end