ISeries.ValueFormat
ISeries
property ValueFormat: WideString;
Type Library
TeeChartx
Description
Default Value: '#,##0.###'
The ValueFormat specifies the desired formatting string to be applied to Axis Labels. It has effect when Axis associated Series have their XValues.DateTime or YValues.DateTime property set to False.
For DateTime Axis labels use the AxisLabels.DateTimeFormat property.
ValueFormat is a standard formatting string specifier.
Chart Axis uses it to draw the axis labels.
Chart Series uses it to draw the Marks.
Example
Format string-1234-12340.50
1234-12340.50
01234-123410
0.00 1234.00-1234.000.500.00
#.## 1234-1234.5
#,##0.001,234.00-1,234.000.500.00
#,##0.00;(#,##0.00)1,234.00(1,234.00)0.500.00
#,##0.00;;Zero 1,234.00-1,234.000.50Zero
0.000E+00 1.234E+03-1.234E+035.000E-010.000E+00
#.###E-0 1.234E3-1.234E35E-10E0
Example[Visual Basic]:
1. TChart1.Series(0).ValueFormat = "#,##0.00"
{Output marks eg. 10.00, 25.00, 150.00}
2.TChart1.Series(0).ValueFormat = "#,##0.##"
{Output marks eg. 10, 25, 150}