yaxis-formatter attribute

Type:formatter
Inherited:no
Used By:Graph elements except piegraph
Default:floatingpoint() or integer()
See:lang xaxis-formatter y yaxis

How to format the values on the y axis. See here for more information on formatters.

Valid values are:

The default depends on the data being plotted - if all the specified values are integers, the default will be integer(), otherwise it's floatingpoint().

bargraph { lang:en_GB; yaxis-formatter:currency(); }

bargraph { yaxis-formatter:currency(en-GB) };

bargraph { yaxis-formatter:percentage(0); }