menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartAxisMultiLevelLabelBorder - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartAxisMultiLevelLabelBorder

    Provides the options to customize the multilevel label border for a chart axis, including color, border type, and width.

    Inheritance
    System.Object
    ChartSubComponent
    ChartAxisMultiLevelLabelBorder
    Inherited Members
    ChartSubComponent.BuildRenderTree(RenderTreeBuilder)
    ChartSubComponent.ChildContent
    ChartSubComponent.Dispose(Boolean)
    ChartSubComponent.OnParametersSet()
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartAxisMultiLevelLabelBorder : ChartSubComponent, ISubcomponentTracker

    Constructors

    ChartAxisMultiLevelLabelBorder()

    Declaration
    public ChartAxisMultiLevelLabelBorder()

    Properties

    Color

    Gets or sets the color of the multi-level labels border.

    Declaration
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the color of the multi-level labels border. The default multi-level label border color is determined by the chart's theme. By default, the theme is set to Material with a font color of #b5b5b5. The default value is an empty string.

    Remarks

    Use valid hex or rgba CSS color strings for the color value.

    Type

    Gets or sets the border type for multi-level labels.

    Declaration
    public BorderType Type { get; set; }
    Property Value
    Type Description
    BorderType

    One of the BorderType enumerations that specifies the border type for multi-level labels. The options include:

    • Rectangle
    • WithoutTopBorder
    • WithoutTopandBottomBorder
    • WithoutBorder
    • Brace
    • CurlyBrace
      The default value is BorderType.Rectangle.
    Remarks

    This property determines the style of the border around multi-level labels.

    Width

    Gets or sets the width of the multi-level labels border in pixels.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    The width of the border in pixels. The default value is 1.

    Remarks

    This property specifies the thickness of the border.

    Methods

    OnInitialized()

    Declaration
    protected override void OnInitialized()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved