Class ChartMultiLevelLabel
Options to customize the multilevel label of the axis.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartMultiLevelLabel : ChartSubComponent, ISubcomponentTracker
Constructors
ChartMultiLevelLabel()
Declaration
public ChartMultiLevelLabel()
Properties
Alignment
Gets or sets the position of the multi-level labels in the chart.
Declaration
public Alignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | One of the Alignment enumeration values that specifies the alignment of the multi-level labels.
|
Border
Gets or sets an instance of ChartAxisMultiLevelLabelBorder that specifies the border settings for multi-level labels.
Declaration
public ChartAxisMultiLevelLabelBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartAxisMultiLevelLabelBorder | An instance of ChartAxisMultiLevelLabelBorder. |
Remarks
The Width, Color, and Type of the border for multi-level labels can be customized using this property.
Categories
Gets or sets a list of ChartCategory representing the categories for multi-level labels.
Declaration
public List<ChartCategory> Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ChartCategory> | A list of ChartCategory. |
Remarks
The Start, End, Text, and MaximumTextWidth of multilevel labels can be customized using the Categories which accepts the collections of ChartCategory.
Overflow
Gets or sets the text overflow behavior for multi-level labels.
Declaration
public TextOverflow Overflow { get; set; }
Property Value
Type | Description |
---|---|
TextOverflow | One of the TextOverflow enumeration that specifies the text overflow options. The options include:
|
TextStyle
Gets or sets an instance of ChartAxisMultiLevelLabelTextStyle that controls the customization of the multilevel label text.
Declaration
public ChartAxisMultiLevelLabelTextStyle TextStyle { get; set; }
Property Value
Type | Description |
---|---|
ChartAxisMultiLevelLabelTextStyle | An instance of ChartAxisMultiLevelLabelTextStyle. |
Remarks
This property can be used to customize the color, and font-properties of the multilevel label text.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()