Class ChartSeriesBorder
Provides options to customize the border of the chart series.
Implements
System.IAsyncDisposable
Inherited Members
Namespace: Syncfusion.Blazor.Toolkit.Charts
Assembly: Syncfusion.Blazor.Toolkit.dll
Syntax
public class ChartSeriesBorder : ChartSubComponent, IAsyncDisposable, ISubcomponentTracker
Remarks
Use this component to configure color and width for series borders. Runtime changes queue a render to update visuals.
Constructors
ChartSeriesBorder()
Declaration
public ChartSeriesBorder()
Properties
Color
Gets or sets the color of the border.
Declaration
public string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A System.String representing the color of the series border. Accepts valid CSS color strings such as hex and rgba. |
Remarks
Changing this value will update the series border color on the next render pass.
Examples
<ChartSeriesBorder Width="5" Color="blue" />
Width
Gets or sets the width of the border in pixels.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | A System.Double representing the width of the series border. |
Remarks
Adjusting the width affects the visual thickness of the series border.
Examples
<ChartSeriesBorder Width="10" Color="red" />
Implements
System.IAsyncDisposable