Class Point
Represents the data point of a chart, including various properties for customization and data representation.
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class Point : TemplateData
Constructors
Point()
Declaration
public Point()
Properties
Error
Gets or sets the error value for the chart point.
Declaration
public double Error { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the value as a double. The default value is 0. |
Remarks
This property is used to represent the error value of the point within a chart.
Index
Gets or sets the index of the chart point within its series or dataset.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Accepts the value as an integer. The default value is 0. |
Remarks
The point index is useful for identifying and manipulating the chart point's position within a data series or dataset.
Interior
Gets or sets the interior color for the chart point within the chart.
Declaration
public string Interior { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. The default value is null. |
Remarks
This property sets the fill color of the chart point, aiding in the visual differentiation of data points.
IsEmpty
Specifies whether the chart point is treated as empty in the visualization.
Declaration
public bool IsEmpty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This property can be used to identify or exclude empty chart points from rendering or calculations in the chart.
IsSelected
Gets or sets the selection state of the chart point.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Use this property to perform additional actions based on the selection state of the chart point.
Marker
Gets or sets the marker data for the chart point's visualization.
Declaration
public MarkerSettingModel Marker { get; set; }
Property Value
Type | Description |
---|---|
MarkerSettingModel | The MarkerSettingModel object containing marker data. |
Remarks
Marker settings are used to customize the appearance of the markers representing chart points.
Maximum
Gets or sets the maximum value for the chart point, often used in range definitions.
Declaration
public double Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the value as a double. The default value is 0. |
Remarks
The maximum value is often utilized in statistical visuals where defining a range is necessary.
Minimum
Gets or sets the minimum value for the chart point, often used in range definitions.
Declaration
public double Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the value as a double. The default value is 0. |
Remarks
The minimum value is often utilized in statistical visuals where defining a range is necessary.
Percentage
Gets or sets the percentage value associated with the chart point for visualizations.
Declaration
public double Percentage { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the value as a double. The default value is 0. |
Remarks
This property is used to compute and display percentage values in data visualizations involving the chart point.
RegionData
Gets or sets the region data for polar and radar chart points, defining their coverage area.
Declaration
public PolarArc RegionData { get; set; }
Property Value
Type | Description |
---|---|
PolarArc | The PolarArc object representing the data for polar and radar chart points. |
Remarks
Region data is used for defining the area covered by a chart point in polar and radar chart types.
Regions
Gets or sets the visual regions associated with the chart point.
Declaration
public List<Rect> Regions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Rect> | A list of Rect representing the chart point's regions. |
Remarks
Regions define the visual area representing the chart point, often used for hit testing and rendering purposes.
SymbolLocations
Gets or sets the location coordinates of the chart point.
Declaration
public List<ChartEventLocation> SymbolLocations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ChartEventLocation> | A list of ChartEventLocation representing the symbol location values for the point. |
Remarks
Use this property to specify and retrieve the coordinates where the chart point's symbols are rendered on the chart.
Tooltip
Gets or sets the tooltip format string for the chart point's tooltip display.
Declaration
public string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the value as a string. The default value is null. |
Remarks
This property allows you to define a specific tooltip format for the chart point, enhancing data presentation when hovering over the point.
Visible
Gets or sets the visibility state of the chart point.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This property determines whether the chart point is displayed or hidden in the chart, allowing dynamic visibility control.
XValue
Gets or sets the X-Value for the chart point in the chart's coordinate system.
Declaration
public double XValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the value as a double. The default value is 0. |
Remarks
This property is used to define the horizontal position of the chart point, crucial for data plotting in charts.
YValue
Gets or sets the Y-Value for the chart point in the chart's coordinate system.
Declaration
public double YValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the value as a double. The default value is 0. |
Remarks
This property is used to define the vertical position of the chart point, important for accurate data representation in charts.