The text displayed in axis labels can be customized using the client-side AxesLabelRendering event. Refer for more information about the events available in Chart. Refer for more information about the options available in AxesLabelRendering event.
The Event Handler is provided an object containing properties cancel, data, model and type as parameter. The property data in parameter object has options to customize the text of axis labels. The following code snippet adds “$” as prefix and “K” as suffix to the labels in vertical axis.
The following screenshot displays Chart with the prefix and suffix for the primary Y axis labels added in AxesLabelRendering event.
Figure 1: Chart with the prefix and suffix
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|