alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class Chart3DEmptyPointSettings

    Gets or sets the empty point settings for the 3D Chart series.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    Chart3DSubComponent
    Chart3DEmptyPointSettings
    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.Chart3D
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class Chart3DEmptyPointSettings : Chart3DSubComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    Use the Chart3DEmptyPointSettings class to customize how empty points are displayed in the 3D Chart series. This class can be used to customize properties such as empty point mode, border, and color for empty points.

    Examples
    <SfChart3D>
        <Chart3DSeriesCollection>
            <Chart3DSeries XName="Browser" YName="Users" Data-Source="@StatisticsDetails">
                <Chart3DEmptyPointSettings Fill="gray" Mode="EmptyPointMode.Average">
                    <Chart3DEmptyPointBorder Color="green" Width="2"></Chart3DEmptyPointBorder>
                </Chart3DEmptyPointSettings>
            </Chart3DSeries>
        </Chart3DSeriesCollection>
    </SfChart3D>
    @code {
        public class Statistics
        {
            public string Browser { get; set; }
            public double Users { get; set; }
            public string Color { get; set; }
        }
    
        public List<Statistics> StatisticsDetails = new List<Statistics>
        {
            new Statistics { Browser = "Chrome", Users = 65.3, Color = "red" },
            new Statistics { Browser = "Safari", Users = 18.3, Color = "blue" },
            new Statistics { Browser = "Edge", Users = 5, Color = "green" },
            new Statistics { Browser = “Firefox”, Users = 3, Color = "orange"  },
            new Statistics { Browser = “Samsung Internet”, Users = 2.6, Color = "yellow" },
            new Statistics { Browser = “Opera”, Users = 2.4, Color = "pink" },
        };
    }

    Constructors

    Chart3DEmptyPointSettings()

    Declaration
    public Chart3DEmptyPointSettings()

    Properties

    Fill

    Gets or sets the fill color for the rendered empty points for the 3D Chart series.

    Declaration
    [Parameter]
    public string Fill { get; set; }
    Property Value
    Type Description
    string

    Accepts valid CSS color string values such as hexadecimal, rgba, and color names. The default value is null.

    Remarks

    Use the Fill property to specify the fill color for empty points in the 3D Chart series. This property allows you to customize the appearance of empty points based on your chart's design and requirements.

    Mode

    Gets or sets the empty point mode for the 3D Chart series. Based on this value, the empty points will be rendered. The available options are:

    • Gap
    • Zero
    • Average
    • Drop
    Declaration
    [Parameter]
    public EmptyPointMode Mode { get; set; }
    Property Value
    Type Description
    EmptyPointMode

    Accepts the value from the EmptyPointMode enum. The default value is Zero.

    Remarks

    Use the Mode property to specify how empty points are rendered in the 3D Chart series. The available options include Gap, Zero, Average, and Drop modes, each defining how empty points are handled visually.

    Implements

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