• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Multilevel labels in ASP.NET Core 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 ChartMultiLevelLabels. You can customize the text in each level by using ChartAxisMultiLevelLabelBorder and ChartAxisMultiLevelLabelTextStyle.

Axis labels in each level can be arranged smartly using the Overflow property. Its values and their behaviors are:

  • Trim - Trim the label when it intersect.
  • Wrap - Wrap the label when it intersect.
  • None - Shows all the labels.

More information about the multiple level labels can be found in this documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab