Articles in this section
Category / Section

How to change the format of chart axis labels?

1 min read

 

The LabelFormat property in chartAxis can be used to chage the format of the labels. In case, if a label has DateTime value, then the LabelDateTimeFormat property can be used.

The following code snippet displays how the LabelFormat property can be used.

To change the format to currency - <syncfusion:ChartAxis LabelFormat="0.00$">

To change the DateTimeFormat - <syncfusion:chartaxis labeldatetimeformat="mm/dd/yyyy">

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