IChartDataPoint

All Implemented Interfaces: com.aspose.slides.IActualLayout

public interface IChartDataPoint extends IActualLayout

Represents series data point.

Methods

MethodDescription
getXValue()Returns the x value of chart data point.
getYValue()Returns the y value of chart data point.
getBubbleSize()Returns the bubble size of chart data point.
getValue()Returns the value of chart data point.
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()Represents the lable of chart data point.
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.
remove()Removes DataPoint from chart series.
getAutomaticDataPointColor()Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried propery and chart style.
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.
getSetAsTotal()Sets data point as total.
setSetAsTotal(boolean value)Sets data point as total.
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.
getDataPointLevels()Returns container of data point levels.
getIndex()Determines which of the parent’s children collection this data point applies to.

getXValue()

public abstract IStringOrDoubleChartValue getXValue()

Returns the x value of chart data point. Read-only IStringOrDoubleChartValue.

Returns: IStringOrDoubleChartValue

getYValue()

public abstract IDoubleChartValue getYValue()

Returns the y value of chart data point. Read-only IDoubleChartValue.

Returns: IDoubleChartValue

getBubbleSize()

public abstract IDoubleChartValue getBubbleSize()

Returns the bubble size of chart data point. Read-only IDoubleChartValue.

Returns: IDoubleChartValue

getValue()

public abstract IDoubleChartValue getValue()

Returns the value of chart data point. Read-only IDoubleChartValue.

Returns: IDoubleChartValue

getSizeValue()

public abstract IDoubleChartValue getSizeValue()

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

Returns: IDoubleChartValue

getColorValue()

public abstract IDoubleChartValue getColorValue()

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

Returns: IDoubleChartValue

getErrorBarsCustomValues()

public abstract IErrorBarsCustomValues getErrorBarsCustomValues()

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

Returns: IErrorBarsCustomValues

getLabel()

public abstract IDataLabel getLabel()

Represents the lable of chart data point. Read-only IDataLabel.

Returns: IDataLabel

isBubble3D()

public abstract boolean isBubble3D()

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

Returns: boolean

setBubble3D(boolean value)

public abstract void setBubble3D(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getExplosion()

public abstract 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 abstract 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 abstract IFormat getFormat()

Represents the formatting properties. Read/write IFormat.

Returns: IFormat

setFormat(IFormat value)

public abstract void setFormat(IFormat value)

Represents the formatting properties. Read/write IFormat.

Parameters:

ParameterTypeDescription
valueIFormat

getMarker()

public abstract IMarker getMarker()

Specifies a data marker. Read-only IMarker.

Returns: IMarker

remove()

public abstract void remove()

Removes DataPoint from chart series.

getAutomaticDataPointColor()

public abstract Color getAutomaticDataPointColor()

Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried propery and chart style. This color is used by default if FillType equals NotDefined.

Returns: java.awt.Color - Automatic color of data point java.awt.Color

getRelatedLegendEntry()

public abstract 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

getSetAsTotal()

public abstract boolean getSetAsTotal()

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

Returns: boolean

setSetAsTotal(boolean value)

public abstract void setSetAsTotal(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getInvertIfNegative()

public abstract boolean getInvertIfNegative()

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

Returns: boolean

setInvertIfNegative(boolean value)

public abstract void setInvertIfNegative(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

getDataPointLevels()

public abstract 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 abstract long getIndex()

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

Returns: long