Determines the Format to display point values.
public String ValueFormat {get; set;}

Remarks


Default: '#,##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     -1234     0.5     0
1234     -1234      0.5     0
0     1234     -1234     1     0
0.00      1234.00     -1234.00     0.50     0.00
#.##       1234     -1234     .5
#,##0.00     1,234.00     -1,234.00     0.50     0.00
#,##0.00;(#,##0.00)     1,234.00     (1,234.00)     0.50     0.00
#,##0.00;;Zero      1,234.00     -1,234.00     0.50     Zero
0.000E+00        1.234E+03     -1.234E+03     5.000E-01     0.000E+00
#.###E-0       1.234E3     -1.234E3     5E-1     0E0

Example




1.     
tChart1[0].ValueFormat = "#,##0.00"; 
        //Output marks eg. 10.00, 25.00, 150.00

2.    
tChart1[0].ValueFormat = "#,##0.##"; 
        //Output marks eg. 10, 25, 150

See Also

Series Class | Series Members | Steema.TeeChart.Styles Namespace