Example of MultiLevel Labels in ASP.NET MVC Chart Control
This example shows multilevel labels in the chart axis. We can add layers of labels to the axis using start and end range values.
DEMO
SOURCE
In this example, you can see how to group axis labels based on ranges by using ChartMultiLevelLabelsopens in a new tab. You can customize the text in each level by using ChartAxisMultiLevelLabelBorderopens in a new tab and ChartAxisMultiLevelLabelTextStyleopens in a new tab.
Axis labels in each level can be arranged smartly using the Overflowopens in a new tab property. Its values and their behaviors are:
- Trimopens in a new tab - Trim the label when it intersect.
- Wrapopens in a new tab - Wrap the label when it intersect.
- Noneopens in a new tab - Shows all the labels.
More information about the multiple level labels can be found in this documentation sectionopens in a new tab.