Class ChartStackLabelBorder
Configures the border appearance for the stack labels, including options for border width and color.
Inheritance
System.Object
ChartStackLabelBorder
Implements
System.IAsyncDisposable
Namespace: Syncfusion.Blazor.Toolkit.Charts
Assembly: Syncfusion.Blazor.Toolkit.dll
Syntax
public class ChartStackLabelBorder : ChartDefaultBorder, IAsyncDisposable, ISubcomponentTracker
Remarks
Use this component within ChartStackLabelSettings to customize the border around the stack labels. Changes trigger a lightweight renderer refresh only when values actually change.
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 |
Overrides
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>
Implements
System.IAsyncDisposable