ChartDataPoint

ChartDataPoint class

Represents series data point.

public class ChartDataPoint : IChartDataPoint

Properties

NameDescription
ActualHeight { get; }Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read Single.
ActualWidth { get; }Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read Single.
ActualX { get; }Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read Single.
ActualY { get; }Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read Single.
BubbleSize { get; }BubbleSize. Read-only IDoubleChartValue.
ColorValue { get; }Returns the color value of chart data point. Used with Map charts. Read-only IDoubleChartValue.
DataPointLevels { get; }Returns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.
ErrorBarsCustomValues { get; }Represents series error bars values in case of Custom value type. Read-only IErrorBarsCustomValues.
Explosion { get; set; }Specifies the amount the data point shall be moved from the center of the pie. Read/write Int32.
Format { get; set; }Represents the formatting properties. Read/write IFormat.
Index { get; }
InvertIfNegative { get; set; }Specifies the data point shall invert its colors if the value is negative. Read/write Boolean.
IsBubble3D { get; set; }Specifies that the bubbles have a 3-D effect applied to them. Read/write Boolean.
Label { get; }Label. Read-only IDataLabel.
Marker { get; }Specifies a data marker. Read-only IMarker.
RelatedLegendEntry { get; }Properties of corresponding legend entry in case of chart type from this list: ChartType.BarOfPie, ChartType.ExplodedPie, ChartType.ExplodedPie3D, ChartType.Pie, ChartType.Pie3D, ChartType.PieOfPie. Read-only ILegendEntryProperties.
SetAsTotal { get; set; }Sets data point as total. Applied for Waterfall series type only.
SizeValue { get; }Returns the size value of chart data point. Used with Treemap and Sunburst charts. Read-only IDoubleChartValue.
Value { get; }Value. Read-only IDoubleChartValue.
XValue { get; }XValue. Read-only IStringOrDoubleChartValue.
YValue { get; }YValue. Read-only IDoubleChartValue.

Methods

NameDescription
GetAutomaticDataPointColor()Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried property and chart style. This color is used by default if FillType equals NotDefined.
Remove()Removes DataPoint from chart series.

See Also