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">