Class Chart3DEmptyPointSettings
Gets or sets the empty point settings for the 3D Chart series.
Inheritance
Inherited Members
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.