This article describes how to display the date-time axis label with custom format during the date-time transitions such as Minutes to Day, Days to Month, Months to Year, etc.
This can be achieved by subscribing the LabelCreated event in date-time axis and accessing the AxisLabel argument, which is a type of DateTimeAxisLabel.
The following properties of DateTimeAxisLabel are used to apply the format for the labels:
Note: These APIs are available from version 14.2 release.
The following code snippet illustrates customization of label format based on interval transition:
The following screenshots illustrate the label format customization based on interval type for date-time axis.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.