Class AccumulationChartSeriesBorder
Gets and sets the border configuration for the series.
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class AccumulationChartSeriesBorder : ChartCommonBorder
Constructors
AccumulationChartSeriesBorder()
Declaration
public AccumulationChartSeriesBorder()
Properties
Color
Gets or sets the border color for the series in the accumulation chart.
Declaration
public override string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value representing the color of the series border. The color can be specified in named, hexadecimal, or RGB format. |
Overrides
Remarks
It is important to note that setting a negative width is invalid and will result in an error.
Examples
// In the following example, the series border color is set to red:
<SfAccumulationChart>
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users">
<AccumulationChartSeriesBorder Color="red" Width="2"></AccumulationChartSeriesBorder>
</AccumulationChartSeries>
</AccumulationChartSeriesCollection>
</SfAccumulationChart>
Width
Gets or sets the border width for the series in the accumulation chart.
Declaration
public override double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the width of the series border. The default value is |
Overrides
Remarks
The border width is prominently visible when a border color is specified. When no color is applied to the border, setting a width will have no visible effect.
Examples
// In the following example, the series border width is set to 2:
<SfAccumulationChart>
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users">
<AccumulationChartSeriesBorder Width="2" Color="blue"></AccumulationChartSeriesBorder>
</AccumulationChartSeries>
</AccumulationChartSeriesCollection>
</SfAccumulationChart>
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |