examples/squid/labels.rb in squid-1.0.0.beta2 vs examples/squid/labels.rb in squid-1.0.0.beta3

- old
+ new

@@ -1,9 +1,9 @@ # By default, <code>chart</code> does not write value labels on the chart. # -# You can use the <code>:labels</code> option to enable this behavior. +# You can use the <code>:label</code> option to enable this behavior. # filename = File.basename(__FILE__).gsub('.rb', '.pdf') Prawn::ManualBuilder::Example.generate(filename) do data = {a_very_long_label_to_test_padding_with_labels: {2013 => 182000, 2014 => -182000, 2015 => 182000}} - chart data, labels: true + chart data, label: true end