Sha256: 0fc2b0f26126498a44028a9fe60e957cc571a0497e001f018571795170c7b752
Contents?: true
Size: 394 Bytes
Versions: 5
Compression:
Stored size: 394 Bytes
Contents
# By default, <code>chart</code> does not write value labels on the chart. # # 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, label: true end
Version data entries
5 entries across 5 versions & 1 rubygems