alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ChartEmptyPointBorder

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

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    ChartSubComponent
    ChartDefaultBorder
    ChartEmptyPointBorder
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartEmptyPointBorder : ChartDefaultBorder, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    ChartEmptyPointBorder()

    Declaration
    public ChartEmptyPointBorder()

    Properties

    Color

    Gets or sets the border color of the empty point.

    Declaration
    [Parameter]
    public override string Color { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public override double Width { get; set; }
    Property Value
    Type Description
    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>

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved