Class Chart3DDataPointInfo
Gets or sets the data point information for the 3D Chart series. This class is used to get the data point information in the 3D Chart events and templates.
Inherited Members
Namespace: Syncfusion.Blazor.Chart3D
Assembly: Syncfusion.Blazor.dll
Syntax
public class Chart3DDataPointInfo
Remarks
The Chart3DDataPointInfo class provides access to data point information such as values, categories, and other related data. It is designed to be used within event handlers or templates of the 3D Chart component.
Constructors
Chart3DDataPointInfo()
Initializes a new instance of the Chart3DDataPointInfo class.
Declaration
public Chart3DDataPointInfo()
Remarks
This parameterless constructor initializes a default Chart3DDataPointInfo instance used by SfChart3D during rendering and interaction operations. All properties are assigned to their default values and may be updated later during chart processing.
Instances of this class are typically created internally by the charting framework to represent metadata about each 3D data point, including position, value, series reference, and rendering state.
Performance Note: Large datasets may create a significant number of Chart3DDataPointInfo objects. Avoid excessive per-point custom logic during initialization to maintain optimal rendering performance.
Examples
The following example demonstrates manually instantiating a Chart3DDataPointInfo class.
var pointInfo = new Chart3DDataPointInfo();
// Properties such as XValue, YValue, and ZValue may be assigned later.
Properties
PointIndex
Gets the index of the data point.
Declaration
public double PointIndex { get; set; }
Property Value
| Type |
|---|
| double |
Remarks
Use this property to get the index of the data point in the 3D Chart series. This is a readonly property.
PointText
Gets the text for the point.
Declaration
public string PointText { get; set; }
Property Value
| Type |
|---|
| string |
Remarks
Use this property to get the text of the data point in the 3D Chart which is going to be rendered. This is a readonly property.
PointX
Gets the x value of the point.
Declaration
public object PointX { get; set; }
Property Value
| Type |
|---|
| object |
Remarks
Use this property to get the x value of the data point in the 3D Chart. This is a readonly property.
PointY
Gets the y value of the point.
Declaration
public object PointY { get; set; }
Property Value
| Type |
|---|
| object |
Remarks
Use this property to get the y value of the data point in the 3D Chart. This is a readonly property.
SeriesIndex
Gets the 3D Chart series index.
Declaration
public double SeriesIndex { get; set; }
Property Value
| Type |
|---|
| double |
Remarks
Use this property to get the index of the series in the 3D Chart. This is a readonly property.
SeriesName
Gets the data point’s series name.
Declaration
public string SeriesName { get; set; }
Property Value
| Type |
|---|
| string |
Remarks
Use this property to get the series name of the data point in the 3D Chart. This is a readonly property.
StackedTotalValue
Gets the total y value of a data point in the stacking series types 3D Chart. This property allows for the inclusion of the cumulative sum of the data points in the 3D Chart. It can be used to customize the TooltipRendering event to display the total value alongside other data points information.
Declaration
public double StackedTotalValue { get; }
Property Value
| Type | Description |
|---|---|
| double | The sum of the same point indexed y values for the stacking series type 3D Chart.The default value is null. |
Remarks
Use this property to get the total y value of a data point in the stacking series types 3D Chart. This is readonly property and only available in the stacking series types 3D Chart.
X
Gets or sets the x value for the point.
Declaration
public object X { get; set; }
Property Value
| Type | Description |
|---|---|
| object | Accepts the value as object. The default value is null. |
Remarks
Use this property to get or customize the x value of the data point in the 3D Chart.
Y
Gets or sets the y value for the point.
Declaration
public object Y { get; set; }
Property Value
| Type | Description |
|---|---|
| object | Accepts the value as object. The default value is null. |
Remarks
Use this property to get or customize the y value of the data point in the 3D Chart.