ChartDataPoint

ChartDataPoint class

Represents series data point.

getActualHeight

NameDescription
getActualHeight ()Specifies actual height of the chart element. Call function IChart.ValidateChartLayout() before to get actual values. Read float.

Returns: float


getActualWidth

NameDescription
getActualWidth ()Specifies actual width of the chart element. Call function IChart.ValidateChartLayout() before to get actual values. Read float.

Returns: float


getActualX

NameDescription
getActualX ()Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call function IChart.ValidateChartLayout() before to get actual values. Read float.

Returns: float


getActualY

NameDescription
getActualY ()Specifies actual top of the chart element relative to the left top corner of the chart. Call function IChart.ValidateChartLayout() before to get actual values. Read float.

Returns: float


getAutomaticDataPointColor

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.

Returns: Color


getBubbleSize

NameDescription
getBubbleSize ()BubbleSize. Read-only IDoubleChartValue.

Returns: DoubleChartValue


getColorValue

NameDescription
getColorValue ()Returns the color value of chart data point. Used with Map charts. Read-only IDoubleChartValue.

Returns: DoubleChartValue


getDataPointLevels

NameDescription
getDataPointLevels ()Returns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.

Returns: ChartDataPointLevelsManager


getErrorBarsCustomValues

NameDescription
getErrorBarsCustomValues ()Represents series error bars values in case of Custom value type. Read-only IErrorBarsCustomValues.

Returns: ErrorBarsCustomValues


getExplosion

NameDescription
getExplosion ()Specifies the amount the data point shall be moved from the center of the pie. Read/write int.

Returns: int


getFormat

NameDescription
getFormat ()Represents the formatting properties. Read/write IFormat.

Returns: Format


getIndex

NameDescription
getIndex ()Determines which of the parent’s children collection this data point applies to. Read long.

Returns: long


getInvertIfNegative

NameDescription
getInvertIfNegative ()Specifies the data point shall invert its colors if the value is negative. Read/write boolean.

Returns: boolean


getLabel

NameDescription
getLabel ()Label. Read-only IDataLabel.

Returns: DataLabel


getMarker

NameDescription
getMarker ()Specifies a data marker. Read-only IMarker.

Returns: Marker


getRelatedLegendEntry

NameDescription
getRelatedLegendEntry ()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.

Returns: LegendEntryProperties


getSetAsTotal

NameDescription
getSetAsTotal ()Sets data point as total. Applied for Waterfall series type only.

Returns: boolean


getSizeValue

NameDescription
getSizeValue ()Returns the size value of chart data point. Used with Treemap and Sunburst charts. Read-only IDoubleChartValue.

Returns: DoubleChartValue


getValue

NameDescription
getValue ()Value. Read-only IDoubleChartValue.

Returns: DoubleChartValue


getXValue

NameDescription
getXValue ()XValue. Read-only IStringOrDoubleChartValue.

Returns: StringOrDoubleChartValue


getYValue

NameDescription
getYValue ()YValue. Read-only IDoubleChartValue.

Returns: DoubleChartValue


isBubble3D

NameDescription
isBubble3D ()Specifies that the bubbles have a 3-D effect applied to them. Read/write boolean.

Returns: boolean


remove

NameDescription
remove ()Removes DataPoint from chart series.

Error

ErrorCondition
PptxEditExceptionThrown if data point is already removed from chart series.

setBubble3D

NameDescription
setBubble3D (boolean)Specifies that the bubbles have a 3-D effect applied to them. Read/write boolean.

setExplosion

NameDescription
setExplosion (int)Specifies the amount the data point shall be moved from the center of the pie. Read/write int.

setFormat

NameDescription
setFormat (Format)Represents the formatting properties. Read/write IFormat.

setInvertIfNegative

NameDescription
setInvertIfNegative (boolean)Specifies the data point shall invert its colors if the value is negative. Read/write boolean.

setSetAsTotal

NameDescription
setSetAsTotal (boolean)Sets data point as total. Applied for Waterfall series type only.