Class ChartStackLabelBorder
Configures the border appearance for the stack labels, including options for border width and color.
Inherited Members
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 |
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>