ChartDataPoint

ChartDataPoint class

Represents series data point.

The ChartDataPoint type exposes the following members:

Properties

NameDescription
x_valueXValue.
Read-only IStringOrDoubleChartValue.
y_valueYValue.
Read-only IDoubleChartValue.
bubble_sizeBubbleSize.
Read-only IDoubleChartValue.
valueValue.
Read-only IDoubleChartValue.
size_valueReturns the size value of chart data point.
Used with Treemap and Sunburst charts.
Read-only IDoubleChartValue.
color_valueReturns the color value of chart data point.
Used with Map charts.
Read-only IDoubleChartValue.
error_bars_custom_valuesRepresents series error bars values in case of Custom value type.
Read-only IErrorBarsCustomValues.
labelLabel.
Read-only IDataLabel.
is_bubble_3dSpecifies that the bubbles have a 3-D effect applied to them.
Read/write bool.
explosionSpecifies the amount the data point shall be moved from the center of the pie.
Read/write
formatRepresents the formatting properties.
Read/write IFormat.
markerSpecifies a data marker.
Read-only IMarker.
set_as_totalSets data point as total. Applied for Waterfall series type only.
related_legend_entryProperties 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.
data_point_levelsReturns container of data point levels. Applied for Treeamp and Sunburst series.
Data point levels indexing is zero-based.
indexDetermines which of the parent’s children collection this data point applies to.
Read int.
invert_if_negativeSpecifies the data point shall invert its colors if the value is negative.
Read/write bool.
actual_xSpecifies 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
actual_ySpecifies 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
actual_widthSpecifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values.
Read
actual_heightSpecifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values.
Read
as_i_actual_layoutReturns IActualLayout interface.

Methods

NameDescription
remove()Removes DataPoint from chart series.
get_automatic_data_point_color()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.

See Also