:format
option.
#
# Valid options are: :percentage
, :currency
, :seconds
, :float
.
#
filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::ManualBuilder::Example.generate(filename) do
data = {views: {Safari: 45.20001, Firefox: 33.3999, Chrome: nil}}
chart data, format: :percentage, label: true
end