ChartDataPoint

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IChartDataPoint, com.aspose.slides.IDOMObject

public class ChartDataPoint implements IChartDataPoint, IDOMObject

Represents series data point.

Methods

MethodDescription
getXValue()XValue.
getYValue()YValue.
getBubbleSize()BubbleSize.
getValue()Value.
getSizeValue()Returns the size value of chart data point.
getColorValue()Returns the color value of chart data point.
getErrorBarsCustomValues()Represents series error bars values in case of Custom value type.
getLabel()Label.
isBubble3D()Specifies that the bubbles have a 3-D effect applied to them.
setBubble3D(boolean value)Specifies that the bubbles have a 3-D effect applied to them.
getExplosion()Specifies the amount the data point shall be moved from the center of the pie.
setExplosion(int value)Specifies the amount the data point shall be moved from the center of the pie.
getFormat()Represents the formatting properties.
setFormat(IFormat value)Represents the formatting properties.
getMarker()Specifies a data marker.
getSetAsTotal()Sets data point as total.
setSetAsTotal(boolean value)Sets data point as total.
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.
remove()Removes DataPoint from chart series.
getDataPointLevels()Returns container of data point levels.
getIndex()Determines which of the parent’s children collection this data point applies to.
getParent_Immediate()
getAutomaticDataPointColor()Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried property and chart style.
getInvertIfNegative()Specifies the data point shall invert its colors if the value is negative.
setInvertIfNegative(boolean value)Specifies the data point shall invert its colors if the value is negative.
getActualX()Specifies actual x location (left) of the chart element relative to the left top corner of the chart.
getActualY()Specifies actual top of the chart element relative to the left top corner of the chart.
getActualWidth()Specifies actual width of the chart element.
getActualHeight()Specifies actual height of the chart element.

getXValue()

public final IStringOrDoubleChartValue getXValue()

XValue. Read-only IStringOrDoubleChartValue.

Returns: IStringOrDoubleChartValue

getYValue()

public final IDoubleChartValue getYValue()

YValue. Read-only IDoubleChartValue.

Returns: IDoubleChartValue

getBubbleSize()

public final IDoubleChartValue getBubbleSize()

BubbleSize. Read-only IDoubleChartValue.

Returns: IDoubleChartValue

getValue()

public final IDoubleChartValue getValue()

Value. Read-only IDoubleChartValue.

Returns: IDoubleChartValue

getSizeValue()

public final IDoubleChartValue getSizeValue()

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

Returns: IDoubleChartValue

getColorValue()

public final IDoubleChartValue getColorValue()

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

Returns: IDoubleChartValue

getErrorBarsCustomValues()

public final IErrorBarsCustomValues getErrorBarsCustomValues()

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

Returns: IErrorBarsCustomValues

getLabel()

public final IDataLabel getLabel()

Label. Read-only IDataLabel.

Returns: IDataLabel

isBubble3D()

public final boolean isBubble3D()

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

Returns: boolean

setBubble3D(boolean value)

public final void setBubble3D(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getExplosion()

public final int getExplosion()

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

Returns: int

setExplosion(int value)

public final void setExplosion(int value)

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

Parameters:

ParameterTypeDescription
valueint

getFormat()

public final IFormat getFormat()

Represents the formatting properties. Read/write IFormat.

Returns: IFormat

setFormat(IFormat value)

public final void setFormat(IFormat value)

Represents the formatting properties. Read/write IFormat.

Parameters:

ParameterTypeDescription
valueIFormat

getMarker()

public final IMarker getMarker()

Specifies a data marker. Read-only IMarker.

Returns: IMarker

getSetAsTotal()

public final boolean getSetAsTotal()

Sets data point as total. Applied for Waterfall series type only.

Returns: boolean

setSetAsTotal(boolean value)

public final void setSetAsTotal(boolean value)

Sets data point as total. Applied for Waterfall series type only.

Parameters:

ParameterTypeDescription
valueboolean

getRelatedLegendEntry()

public final ILegendEntryProperties 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: ILegendEntryProperties

remove()

public final void remove()

Removes DataPoint from chart series.

getDataPointLevels()

public final IChartDataPointLevelsManager getDataPointLevels()

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

Returns: IChartDataPointLevelsManager

getIndex()

public final long getIndex()

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

Returns: long

getParent_Immediate()

public final IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.

Returns: com.aspose.slides.IDOMObject

getAutomaticDataPointColor()

public final Color 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: java.awt.Color

getInvertIfNegative()

public final boolean getInvertIfNegative()

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

Returns: boolean

setInvertIfNegative(boolean value)

public final void setInvertIfNegative(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getActualX()

public final float getActualX()

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 float.

Returns: float

getActualY()

public final float getActualY()

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 float.

Returns: float

getActualWidth()

public final float getActualWidth()

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

Returns: float

getActualHeight()

public final float getActualHeight()

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

Returns: float