In SfChart, you can format the axis labels using the LabelFormat property of the respective axis. This will format all the labels in an axis with the same format.
Suppose, if you want to format each label in an axis with different format, this can be done in LabelCreated event. This event will be fired once for each label of that axis. You can get the current label’s content using the LabelContent property in the event argument and format the label and assign the formatted content to the LabelContent property itself.
In the following code example, the first label of each month in the DateTimeAxis is formatted with month format and other labels in the same month are formatted with day format.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.