menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartEmptyPointBorder - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartEmptyPointBorder

    Represents the border customization options for empty points in a chart series.

    Inheritance
    System.Object
    ChartSubComponent
    ChartDefaultBorder
    ChartEmptyPointBorder
    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 "transparent".

    Overrides
    ChartDefaultBorder.Color
    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 0.

    Overrides
    ChartDefaultBorder.Width
    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>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved