Class ChartMultiLevelLabel
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartMultiLevelLabel : EJTagHelper
Constructors
ChartMultiLevelLabel()
Declaration
public ChartMultiLevelLabel()
Properties
Alignment
Defines the position of the multi-level labels. The available options are: Near: Places the multi-level labels close to the chart elements. Center: Positions the multi-level labels in the center of the chart elements. Far: Places the multi-level labels further from the chart elements.
Declaration
public Alignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | The default value is Syncfusion.EJ2.Charts.Alignment.Center |
Border
The border
property allows customization of the border for multi-level labels.
It includes options to set the color, width, and type of the border.
Declaration
public ChartLabelBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartLabelBorder | The default value is null |
Categories
Configures multi-level categories for multi-level labels.
Declaration
public List<ChartCategory> Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ChartCategory> | The default value is null |
Overflow
Defines the text overflow behavior for multi-level labels. The available options are: Trim: Trims the text that overflows for multi-level labels. Wrap: Wraps the text that overflows for multi-level labels. None: No text overflow handling for multi-level labels.
Declaration
public TextOverflow Overflow { get; set; }
Property Value
Type | Description |
---|---|
TextOverflow | The default value is TextOverflow.Wrap |
TextStyle
Options to customize the multi-level labels.
Declaration
public ChartFont TextStyle { get; set; }
Property Value
Type | Description |
---|---|
ChartFont | The default value is null |