menu

Blazor

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

    Show / Hide Table of Contents

    Class ChartStackLabelBorder

    Configures the border appearance for the stack labels, including options for border width and color.

    Inheritance
    System.Object
    ChartSubComponent
    ChartDefaultBorder
    ChartStackLabelBorder
    Inherited Members
    ChartDefaultBorder.Color
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartStackLabelBorder : ChartDefaultBorder, ISubcomponentTracker

    Constructors

    ChartStackLabelBorder()

    Declaration
    public ChartStackLabelBorder()

    Properties

    Width

    Gets or sets the width of the stack label border.

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

    A System.Double that represents the width of the border, in pixels. The default value is double.NaN.

    Overrides
    ChartDefaultBorder.Width
    Remarks

    Adjust this property to increase or decrease the thickness of the stack label border, enhancing the visibility and appearance of stack labels in the chart.

    Examples
    <SfChart>
        <ChartSeries XName="x" YName="y" Type="ChartSeriesType.StackingColumn">
        </ChartSeries>
        <ChartStackLabelSettings Visible="true">
            <ChartStackLabelBorder Width="2">
            </ChartStackLabelBorder>
        </ChartStackLabelSettings>
    </SfChart>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved