Category / Section
How to display the axes labels in a particular format ?
1 min read
Using Format property of an axes, we can display the axes labels in a particular format.
For example, if you want to display the axes labels in decimals corrected upto two digits, you need to use following code.
C#
this.ChartWebControl1.ChartWebArea.PrimaryXAxis.Format = "##.00";
VB
Me.ChartWebControl1.ChartWebArea.PrimaryXAxis.Format = "##.00"