Articles in this section
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"

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied