Class ChartStackLabelBorder
Configures the border appearance for the stack labels, including options for border width and color.
Inheritance
ChartStackLabelBorder
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartStackLabelBorder : ChartDefaultBorder, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
ChartStackLabelBorder()
Declaration
public ChartStackLabelBorder()
Properties
Width
Gets or sets the width of the stack label border.
Declaration
[Parameter]
public override double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A 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>