menu

Blazor

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

    Show / Hide Table of Contents

    Class Chart3DEmptyPointSettings

    Gets or sets the empty point settings for the SfChart3D series.

    Inheritance
    System.Object
    Chart3DSubComponent
    Chart3DEmptyPointSettings
    Namespace: Syncfusion.Blazor.Chart3D
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class Chart3DEmptyPointSettings : Chart3DSubComponent, IChart3DSubcomponentTracker
    Remarks

    Use the Chart3DEmptyPointSettings class to customize how empty points are displayed in the SfChart3D 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 SfChart3D series.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.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 SfChart3D 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 SfChart3D series. Based on this value, the empty points will be rendered. The available options are:

    • Gap
    • Zero
    • Average
    • Drop
    Declaration
    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 SfChart3D series. The available options include Gap, Zero, Average, and Drop modes, each defining how empty points are handled visually.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved