Example of Multi Level Labels in Javascript Chart Control

Multi Level Labels

This example shows multilevel labels in the chart axis. We can add layers of labels to the axis using start and end range values.

More Details...


In this example, you can see how to group axis labels based on ranges by using chartMultiLevelLabels. You can customize the text in each level by using chartAxisMultiLevelLabelBorder, and chartAxisMultiLevelLabelTextStyle. Axis labels in each level can be arranged smartly using overflow property. Trim - Trim the label when it intersect. Wrap - Wrap the label when it intersect. None - Shows all the labels. Border of the axis labels can be customized by using type property. Rectangle Brace WithoutTopBorder WithoutTopandBottomBorder CurlyBrace withoutBorder. More information on the multi level labels can be found in this documentation section.