Class ChartEmptyPointBorder
Represents the border customization options for empty points in a chart series.
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartEmptyPointBorder : ChartDefaultBorder, ISubcomponentTracker
Constructors
ChartEmptyPointBorder()
Declaration
public ChartEmptyPointBorder()
Properties
Color
Gets or sets the border color of the empty point.
Declaration
public override string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the color of the empty point's border. The default value is |
Overrides
Remarks
Changing this property will trigger an update to the empty point's border color.
Examples
// This example demonstrates how to apply a custom border color to the empty points.
<SfChart>
<ChartSeriesCollection>
<ChartSeries DataSource="@Data" XName="XValue" YName="YValue" Type="ChartSeriesType.Column">
<ChartEmptyPointSettings Mode="EmptyPointMode.Average">
<ChartEmptyPointBorder Width="2" Color="blue"></ChartEmptyPointBorder>
</ChartEmptyPointSettings>
</ChartSeries>
</ChartSeriesCollection>
</SfChart>
Width
Gets or sets the width of the empty point's border.
Declaration
public override double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the width of the border. Default is |
Overrides
Remarks
Changing this property will trigger an update to the empty point's border width.
Examples
// This example demonstrates how to apply a custom border width to the empty points.
<SfChart>
<ChartSeriesCollection>
<ChartSeries DataSource="@Data" XName="XValue" YName="YValue" Type="ChartSeriesType.Column">
<ChartEmptyPointSettings Mode="EmptyPointMode.Average">
<ChartEmptyPointBorder Width="2" Color="blue"></ChartEmptyPointBorder>
</ChartEmptyPointSettings>
</ChartSeries>
</ChartSeriesCollection>
</SfChart>