[C#] | public string formatValue({double | DateTime} value, string formatString); |
[VB] | Public Function formatValue(value As {Double | DateTime}, formatString As String) As String |
ChartDirector 7.1 (.NET Edition)
BaseChart.
Usage
[C#] | public string formatValue({double | DateTime} value, string formatString); |
[VB] | Public Function formatValue(value As {Double | DateTime}, formatString As String) As String |
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