public class ChartDataPoint extends java.lang.Object implements IChartDataPoint
Represents series data point.
Modifier and Type | Method and Description |
---|---|
float |
getActualHeight()
Specifies actual height of the chart element.
|
float |
getActualWidth()
Specifies actual width of the chart element.
|
float |
getActualX()
Specifies actual x location (left) of the chart element relative to the left top corner of the chart.
|
float |
getActualY()
Specifies actual top of the chart element relative to the left top corner of the chart.
|
java.awt.Color |
getAutomaticDataPointColor()
Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried propery and chart style.
|
IDoubleChartValue |
getBubbleSize()
BubbleSize.
|
IChartDataPointLevelsManager |
getDataPointLevels()
Returns container of data point levels.
|
IErrorBarsCustomValues |
getErrorBarsCustomValues()
Represents series error bars values in case of Custom value type.
|
int |
getExplosion()
Specifies the amount the data point shall be moved from the center of the pie.
|
IFormat |
getFormat()
Represents the formatting properties.
|
boolean |
getInvertIfNegative()
Specifies the data point shall invert its colors if the value is negative.
|
IDataLabel |
getLabel()
Label.
|
IMarker |
getMarker()
Specifies a data marker.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
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.
|
boolean |
getSetAsTotal()
Sets data point as total.
|
IDoubleChartValue |
getSizeValue()
Returns the size value of chart data point.
|
IDoubleChartValue |
getValue()
Value.
|
IStringOrDoubleChartValue |
getXValue()
XValue.
|
IDoubleChartValue |
getYValue()
YValue.
|
boolean |
isBubble3D()
Specifies that the bubbles have a 3-D effect applied to them.
|
void |
remove()
Removes DataPoint from chart series.
|
void |
setBubble3D(boolean value)
Specifies that the bubbles have a 3-D effect applied to them.
|
void |
setExplosion(int value)
Specifies the amount the data point shall be moved from the center of the pie.
|
void |
setFormat(IFormat value)
Represents the formatting properties.
|
void |
setInvertIfNegative(boolean value)
Specifies the data point shall invert its colors if the value is negative.
|
void |
setSetAsTotal(boolean value)
Sets data point as total.
|
public final IStringOrDoubleChartValue getXValue()
XValue.
Read-only IStringOrDoubleChartValue
.
getXValue
in interface IChartDataPoint
public final IDoubleChartValue getYValue()
YValue.
Read-only IDoubleChartValue
.
getYValue
in interface IChartDataPoint
public final IDoubleChartValue getBubbleSize()
BubbleSize.
Read-only IDoubleChartValue
.
getBubbleSize
in interface IChartDataPoint
public final IDoubleChartValue getValue()
Value.
Read-only IDoubleChartValue
.
getValue
in interface IChartDataPoint
public final IDoubleChartValue getSizeValue()
Returns the size value of chart data point.
Used with Treemap and Sunburst charts.
Read-only IDoubleChartValue
.
getSizeValue
in interface IChartDataPoint
public final IErrorBarsCustomValues getErrorBarsCustomValues()
Represents series error bars values in case of Custom value type.
Read-only IErrorBarsCustomValues
.
getErrorBarsCustomValues
in interface IChartDataPoint
public final IDataLabel getLabel()
Label.
Read-only IDataLabel
.
getLabel
in interface IChartDataPoint
public final boolean isBubble3D()
Specifies that the bubbles have a 3-D effect applied to them.
Read/write boolean
.
isBubble3D
in interface IChartDataPoint
public final void setBubble3D(boolean value)
Specifies that the bubbles have a 3-D effect applied to them.
Read/write boolean
.
setBubble3D
in interface IChartDataPoint
public final int getExplosion()
Specifies the amount the data point shall be moved from the center of the pie.
Read/write int
.
getExplosion
in interface IChartDataPoint
public final void setExplosion(int value)
Specifies the amount the data point shall be moved from the center of the pie.
Read/write int
.
setExplosion
in interface IChartDataPoint
public final IFormat getFormat()
Represents the formatting properties.
Read/write IFormat
.
getFormat
in interface IChartDataPoint
public final void setFormat(IFormat value)
Represents the formatting properties.
Read/write IFormat
.
setFormat
in interface IChartDataPoint
public final IMarker getMarker()
Specifies a data marker.
Read-only IMarker
.
getMarker
in interface IChartDataPoint
public final boolean getSetAsTotal()
Sets data point as total. Applied for Waterfall series type only.
getSetAsTotal
in interface IChartDataPoint
public final void setSetAsTotal(boolean value)
Sets data point as total. Applied for Waterfall series type only.
setSetAsTotal
in interface IChartDataPoint
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
.
getRelatedLegendEntry
in interface IChartDataPoint
public final void remove()
Removes DataPoint from chart series.
remove
in interface IChartDataPoint
PptxEditException
- Thrown if data point is already removed from chart series.public final IChartDataPointLevelsManager getDataPointLevels()
Returns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.
getDataPointLevels
in interface IChartDataPoint
public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public final java.awt.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.
getAutomaticDataPointColor
in interface IChartDataPoint
public final boolean getInvertIfNegative()
Specifies the data point shall invert its colors if the value is negative.
Read/write boolean
.
getInvertIfNegative
in interface IChartDataPoint
public final void setInvertIfNegative(boolean value)
Specifies the data point shall invert its colors if the value is negative.
Read/write boolean
.
setInvertIfNegative
in interface IChartDataPoint
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
.
getActualX
in interface IActualLayout
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
.
getActualY
in interface IActualLayout
public final float getActualWidth()
Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values.
Read float
.
getActualWidth
in interface IActualLayout
public final float getActualHeight()
Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values.
Read float
.
getActualHeight
in interface IActualLayout