ChartDirector 5.1 (PHP Edition)
BaseChart.formatValue
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
value | (Mandatory) | The value to be formatted. |
formatString | (Mandatory) | The format string, using {value} to denote the value. For example, ${value|2,} can be used to format the value to 2 decimal points, using "," as the thousand separator, and with a '$' sign in front. |
Return Value