Class ChartBorder
Provides options to customize the border of the chart.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartBorder : ChartDefaultBorder, ISubcomponentTracker
Constructors
ChartBorder()
Declaration
public ChartBorder()
Properties
Width
Gets or sets the width of the chart border in pixels.
Declaration
public override double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the width of the chart border. The default value is 0 pixel. |
Overrides
Remarks
Accepts numerical values to define the thickness of the chart's border.
Examples
// This example demonstrates how to set the border thickness for the chart:
<SfChart>
<ChartBorder Width="2" Color="green" />
</SfChart>