Class SunburstChartBorder
Configures the border settings for the Sunburst chart.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.Charts.dll
Syntax
public class SunburstChartBorder : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Remarks
The SunburstChartBorder component provides options for customizing the appearance of the border displayed around the Sunburst chart.
Use this component to control the border color and width, helping the chart stand out from the surrounding content.
Examples
<SfSunburstChart>
<SunburstChartBorder Color="#e0e0e0" Width="1" />
</SfSunburstChart>
Constructors
SunburstChartBorder()
Declaration
public SunburstChartBorder()
Properties
Color
Gets or sets the color of the chart border.
Declaration
[Parameter]
public string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string that specifies the color of the chart border.
The default value is |
Remarks
This property controls the color of the border displayed around the Sunburst chart.
The color can be specified using standard CSS color formats, such as named colors, hexadecimal values, RGB values, and RGBA values.
To display the border, set Width to a value greater than
0.
Examples
<SfSunburstChart>
<SunburstChartBorder Color="#e0e0e0" Width="1" />
</SfSunburstChart>
Width
Gets or sets the width of the chart border.
Declaration
[Parameter]
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A double value that specifies the width of the chart border,
in pixels. The default value is |
Remarks
This property controls the thickness of the border displayed around the Sunburst chart.
Set the value to 0 to hide the chart border. Increasing the value
makes the border thicker and more prominent.
Examples
<SfSunburstChart>
<SunburstChartBorder Color="#9e9e9e" Width="2" />
</SfSunburstChart>