public class ChartSeries extends java.lang.Object implements IChartSeries
Represents a chart series.
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getAutomaticSeriesColor()
Returns an automatic color of series based on series index and chart style.
|
int |
getBar3DShape()
Specifies the shape of a series of a 3-D bar chart.
|
int |
getBubbleSizeRepresentation()
Specifies how the bubble size values are represented on the bubble chart.
|
int |
getBubbleSizeScale()
Specifies the scale factor for the bubble chart (can be
between 0 and 300 percents of the default size).
|
IChart |
getChart()
Returns the parent chart.
|
IChartDataPointCollection |
getDataPoints()
Returns collection of data points of this series.
|
byte |
getDoughnutHoleSize()
Specifies the size of the hole in a doughnut chart (can be between 10 and 90 percents
of the size of the plot area.).
|
IErrorBarsFormat |
getErrorBarsXFormat()
Represents ErrorBars of series with derection X.
|
IErrorBarsFormat |
getErrorBarsYFormat()
Represents ErrorBars of series with derection Y.
|
int |
getExplosion()
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
|
int |
getFirstSliceAngle()
Specifies the angle of the first pie or doughnut chart slice,
in degrees (clockwise from up, from 0 to 360 degrees).
|
IFormat |
getFormat()
Returns the format of a series.
|
int |
getGapDepth()
Returns or sets the distance, as a percentage of the marker width, between the data series in a 3D chart.
|
int |
getGapWidth()
Specifies the space between bar or column clusters, as a percentage of the bar or column width.
|
IColorFormat |
getInvertedSolidFillColor()
Specifies invert solid color for series.
|
boolean |
getInvertIfNegative()
Specifies the bar, column or bubble series shall invert its colors if the value is negative.
|
IDataLabelCollection |
getLabels()
Returns the Labels of a series.
|
IMarker |
getMarker()
Marker.
|
IStringChartValue |
getName()
Return series name.
|
java.lang.String |
getNumberFormatOfBubbleSizes()
NumberFormatOfBubbleSizes.
|
java.lang.String |
getNumberFormatOfValues()
NumberFormatOfValues.
|
java.lang.String |
getNumberFormatOfXValues()
NumberFormatOfXValues.
|
java.lang.String |
getNumberFormatOfYValues()
NumberFormatOfYValues.
|
int |
getOrder()
Returns the order of a series.
|
byte |
getOverlap()
Specifies how much bars and columns shall overlap on 2-D charts (from -100 to 100).
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
int |
getParentLabelLayout()
Represents layout of parent category labels.
|
IChartSeriesGroup |
getParentSeriesGroup()
ParentSeriesGroup.
|
int |
getPieSplitBy()
Specifies how to determine which data points are in the second pie or bar
on a pie-of-pie or bar-of-pie chart.
|
IPieSplitCustomPointCollection |
getPieSplitCustomPoints()
The custom split information for a pie-of-pie or bar-of-pie chart with a custom split.
|
double |
getPieSplitPosition()
Specifies a value that shall be used to determine which data points
are in the second pie or bar on a pie-of-pie or bar-of-pie chart.
|
boolean |
getPlotOnSecondAxis()
Indicates if this series is plotted on secondary axis.
|
IPresentation |
getPresentation()
Returns the parent presentation of a FillFormat.
|
int |
getQuartileMethod()
Represents quartile method.
|
ILegendEntryProperties |
getRelatedLegendEntry()
Represents legend entry related with this series
Read-only
ILegendEntryProperties . |
int |
getSecondPieSize()
Specifies the size of the second pie or bar of a pie-of-pie chart or
a bar-of-pie chart, as a percentage of the size of the first pie (can
be between 5 and 200 percents).
|
boolean |
getShowConnectorLines()
Represents connector lines.
|
boolean |
getShowInnerPoints()
Represents inner points.
|
boolean |
getShowMeanLine()
Represents mean line.
|
boolean |
getShowMeanMarkers()
Represents mean markers.
|
boolean |
getShowOutlierPoints()
Represents outlier points.
|
IBaseSlide |
getSlide()
Returns the parent slide of a FillFormat.
|
boolean |
getSmooth()
Represents curve smoothing.
|
ITrendlineCollection |
getTrendLines()
Collection of series trend lines.
|
int |
getType()
Returns a type of this series.
|
boolean |
hasSeriesLines()
Determines whether there are series lines for this series and kindred series.
|
boolean |
hasUpDownBars()
Determines whether Line- or Stock-chart has a up/down bars.
|
boolean |
isColorVaried()
Specifies that each data marker in the series has a different color.
|
void |
setBar3DShape(int value)
Specifies the shape of a series of a 3-D bar chart.
|
void |
setExplosion(int value)
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
|
void |
setInvertIfNegative(boolean value)
Specifies the bar, column or bubble series shall invert its colors if the value is negative.
|
void |
setNumberFormatOfBubbleSizes(java.lang.String value)
NumberFormatOfBubbleSizes.
|
void |
setNumberFormatOfValues(java.lang.String value)
NumberFormatOfValues.
|
void |
setNumberFormatOfXValues(java.lang.String value)
NumberFormatOfXValues.
|
void |
setNumberFormatOfYValues(java.lang.String value)
NumberFormatOfYValues.
|
void |
setOrder(int value)
Returns the order of a series.
|
void |
setParentLabelLayout(int value)
Represents layout of parent category labels.
|
void |
setPlotOnSecondAxis(boolean value)
Indicates if this series is plotted on secondary axis.
|
void |
setQuartileMethod(int value)
Represents quartile method.
|
void |
setShowConnectorLines(boolean value)
Represents connector lines.
|
void |
setShowInnerPoints(boolean value)
Represents inner points.
|
void |
setShowMeanLine(boolean value)
Represents mean line.
|
void |
setShowMeanMarkers(boolean value)
Represents mean markers.
|
void |
setShowOutlierPoints(boolean value)
Represents outlier points.
|
void |
setSmooth(boolean value)
Represents curve smoothing.
|
void |
setType(int value)
Returns a type of this series.
|
public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public final IChart getChart()
Returns the parent chart.
Read-only IChart
.
getChart
in interface IChartComponent
public final int getExplosion()
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
Read/write int
.
getExplosion
in interface IChartSeries
public final void setExplosion(int value)
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
Read/write int
.
setExplosion
in interface IChartSeries
public final boolean getSmooth()
Represents curve smoothing. True if curve smoothing is turned on for the line chart or scatter chart.
Applies only to line and scatter connected by lines charts.
Read/write boolean
.
getSmooth
in interface IChartSeries
public final void setSmooth(boolean value)
Represents curve smoothing. True if curve smoothing is turned on for the line chart or scatter chart.
Applies only to line and scatter connected by lines charts.
Read/write boolean
.
setSmooth
in interface IChartSeries
public final IStringChartValue getName()
Return series name.
Read-only IStringChartValue
.
getName
in interface IChartSeries
public final IChartDataPointCollection getDataPoints()
Returns collection of data points of this series.
Read-only IChartDataPointCollection
.
getDataPoints
in interface IChartSeries
public final int getType()
Returns a type of this series.
Read/write ChartType
.
getType
in interface IChartSeries
public final void setType(int value)
Returns a type of this series.
Read/write ChartType
.
setType
in interface IChartSeries
public final boolean getPlotOnSecondAxis()
Indicates if this series is plotted on secondary axis.
Read/write boolean
.
getPlotOnSecondAxis
in interface IChartSeries
public final void setPlotOnSecondAxis(boolean value)
Indicates if this series is plotted on secondary axis.
Read/write boolean
.
setPlotOnSecondAxis
in interface IChartSeries
public final IChartSeriesGroup getParentSeriesGroup()
ParentSeriesGroup.
Read-only IChartSeriesGroup
.
getParentSeriesGroup
in interface IChartSeries
public final IFormat getFormat()
Returns the format of a series.
Read-only IFormat
.
getFormat
in interface IChartSeries
public final int getOrder()
Returns the order of a series.
Read/write int
.
getOrder
in interface IChartSeries
public final void setOrder(int value)
Returns the order of a series.
Read/write int
.
setOrder
in interface IChartSeries
public final IDataLabelCollection getLabels()
Returns the Labels of a series.
Read-only IDataLabelCollection
.
getLabels
in interface IChartSeries
public final ITrendlineCollection getTrendLines()
Collection of series trend lines.
Read-only ITrendlineCollection
.
getTrendLines
in interface IChartSeries
public final IErrorBarsFormat getErrorBarsXFormat()
Represents ErrorBars of series with derection X.
Read-only IErrorBarsFormat
.
IChartDataPoint.ErrorBarsCustomValues
(IChartDataPoint.getErrorBarsCustomValues()
) property).
getErrorBarsXFormat
in interface IChartSeries
public final IErrorBarsFormat getErrorBarsYFormat()
Represents ErrorBars of series with derection Y.
Read-only IErrorBarsFormat
.
IChartDataPoint.ErrorBarsCustomValues
(IChartDataPoint.getErrorBarsCustomValues()
) property).
getErrorBarsYFormat
in interface IChartSeries
public final ILegendEntryProperties getRelatedLegendEntry()
Represents legend entry related with this series
Read-only ILegendEntryProperties
.
getRelatedLegendEntry
in interface IChartSeries
public final java.lang.String getNumberFormatOfValues()
NumberFormatOfValues.
Read/write String
.
getNumberFormatOfValues
in interface IChartSeries
public final void setNumberFormatOfValues(java.lang.String value)
NumberFormatOfValues.
Read/write String
.
setNumberFormatOfValues
in interface IChartSeries
public final java.lang.String getNumberFormatOfXValues()
NumberFormatOfXValues.
Read/write String
.
getNumberFormatOfXValues
in interface IChartSeries
public final void setNumberFormatOfXValues(java.lang.String value)
NumberFormatOfXValues.
Read/write String
.
setNumberFormatOfXValues
in interface IChartSeries
public final java.lang.String getNumberFormatOfYValues()
NumberFormatOfYValues.
Read/write String
.
getNumberFormatOfYValues
in interface IChartSeries
public final void setNumberFormatOfYValues(java.lang.String value)
NumberFormatOfYValues.
Read/write String
.
setNumberFormatOfYValues
in interface IChartSeries
public final java.lang.String getNumberFormatOfBubbleSizes()
NumberFormatOfBubbleSizes.
Read/write String
.
getNumberFormatOfBubbleSizes
in interface IChartSeries
public final void setNumberFormatOfBubbleSizes(java.lang.String value)
NumberFormatOfBubbleSizes.
Read/write String
.
setNumberFormatOfBubbleSizes
in interface IChartSeries
public final IMarker getMarker()
Marker.
Read-only IMarker
.
getMarker
in interface IChartSeries
public final int getBar3DShape()
Specifies the shape of a series of a 3-D bar chart.
Changing of value of this property can cause to automatically changing Type of series.
Read/write ChartShapeType
.
getBar3DShape
in interface IChartSeries
public final void setBar3DShape(int value)
Specifies the shape of a series of a 3-D bar chart.
Changing of value of this property can cause to automatically changing Type of series.
Read/write ChartShapeType
.
setBar3DShape
in interface IChartSeries
public final boolean getInvertIfNegative()
Specifies the bar, column or bubble series shall invert its colors if the value is negative.
Read/write boolean
.
getInvertIfNegative
in interface IChartSeries
public final void setInvertIfNegative(boolean value)
Specifies the bar, column or bubble series shall invert its colors if the value is negative.
Read/write boolean
.
setInvertIfNegative
in interface IChartSeries
public final IColorFormat getInvertedSolidFillColor()
Specifies invert solid color for series. To apply color setting set series format FillType to FillType.Solid.
Read/write ColorFormat
.
getInvertedSolidFillColor
in interface IChartSeries
public final java.awt.Color getAutomaticSeriesColor()
Returns an automatic color of series based on series index and chart style. This color is used by default if FillType equals NotDefined.
getAutomaticSeriesColor
in interface IChartSeries
Color
object.public final boolean getShowInnerPoints()
Represents inner points. True if inner points are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
getShowInnerPoints
in interface IChartSeries
public final void setShowInnerPoints(boolean value)
Represents inner points. True if inner points are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
setShowInnerPoints
in interface IChartSeries
public final boolean getShowOutlierPoints()
Represents outlier points. True if outlier points are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
getShowOutlierPoints
in interface IChartSeries
public final void setShowOutlierPoints(boolean value)
Represents outlier points. True if outlier points are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
setShowOutlierPoints
in interface IChartSeries
public final boolean getShowMeanMarkers()
Represents mean markers. True if mean markers are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
getShowMeanMarkers
in interface IChartSeries
public final void setShowMeanMarkers(boolean value)
Represents mean markers. True if mean markers are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
setShowMeanMarkers
in interface IChartSeries
public final boolean getShowMeanLine()
Represents mean line. True if mean line are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
getShowMeanLine
in interface IChartSeries
public final void setShowMeanLine(boolean value)
Represents mean line. True if mean line are shown on the BoxAndWhisker chart. Applies only to BoxAndWhisker charts.
Read/write boolean
.
setShowMeanLine
in interface IChartSeries
public final int getQuartileMethod()
Represents quartile method. Applies only to BoxAndWhisker charts.
getQuartileMethod
in interface IChartSeries
public final void setQuartileMethod(int value)
Represents quartile method. Applies only to BoxAndWhisker charts.
setQuartileMethod
in interface IChartSeries
public final boolean getShowConnectorLines()
Represents connector lines. Applies only to Waterfall charts.
getShowConnectorLines
in interface IChartSeries
public final void setShowConnectorLines(boolean value)
Represents connector lines. Applies only to Waterfall charts.
setShowConnectorLines
in interface IChartSeries
public final int getParentLabelLayout()
Represents layout of parent category labels. Applies only to Treemap charts.
getParentLabelLayout
in interface IChartSeries
public final void setParentLabelLayout(int value)
Represents layout of parent category labels. Applies only to Treemap charts.
setParentLabelLayout
in interface IChartSeries
public final boolean hasUpDownBars()
Determines whether Line- or Stock-chart has a up/down bars.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.UpDownBars.HasUpDownBars read/write property for change value.
Use ParentSeriesGroup.UpDownBars property for format up/down bars.
Read-only boolean
.
hasUpDownBars
in interface IChartSeries
public final int getGapWidth()
Specifies the space between bar or column clusters, as a percentage of the bar or column width.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.GapWidth read/write property for change value.
Read-only int
.
getGapWidth
in interface IChartSeries
public final int getGapDepth()
Returns or sets the distance, as a percentage of the marker width, between the data series in a 3D chart.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.GapDepth read/write property for change value.
Read-only int
.
getGapDepth
in interface IChartSeries
public final int getFirstSliceAngle()
Specifies the angle of the first pie or doughnut chart slice,
in degrees (clockwise from up, from 0 to 360 degrees).
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.FirstSliceAngle read/write property for change value.
Read-only int
.
getFirstSliceAngle
in interface IChartSeries
public final byte getDoughnutHoleSize()
Specifies the size of the hole in a doughnut chart (can be between 10 and 90 percents
of the size of the plot area.).
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.DoughnutHoleSize read/write property for change value.
Read-only byte
.
getDoughnutHoleSize
in interface IChartSeries
public final byte getOverlap()
Specifies how much bars and columns shall overlap on 2-D charts (from -100 to 100).
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.Overlap read/write property for change value.
Read-only byte
.
getOverlap
in interface IChartSeries
public final int getSecondPieSize()
Specifies the size of the second pie or bar of a pie-of-pie chart or
a bar-of-pie chart, as a percentage of the size of the first pie (can
be between 5 and 200 percents).
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.SecondPieSize read/write property for change value.
Read-only int
.
getSecondPieSize
in interface IChartSeries
public final boolean hasSeriesLines()
Determines whether there are series lines for this series and kindred series.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.HasSeriesLines read/write property for change value.
Use ParentSeriesGroup.SeriesLinesFormat property for format series lines.
Read-only boolean
.
hasSeriesLines
in interface IChartSeries
public final int getBubbleSizeRepresentation()
Specifies how the bubble size values are represented on the bubble chart. This is the property not only of this series but of all series of parent series group - this is projection of appropriate group property. And so this property is read-only. Use ParentSeriesGroup property for access to parent series group. Use ParentSeriesGroup.BubbleSizeRepresentation read/write property for change value.
getBubbleSizeRepresentation
in interface IChartSeries
public final double getPieSplitPosition()
Specifies a value that shall be used to determine which data points
are in the second pie or bar on a pie-of-pie or bar-of-pie chart.
Is used together with PieSplitBy property.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.PieSplitPosition read/write property for change value.
Read-only double
.
getPieSplitPosition
in interface IChartSeries
public final int getPieSplitBy()
Specifies how to determine which data points are in the second pie or bar
on a pie-of-pie or bar-of-pie chart.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.PieSplitBy read/write property for change value.
Read-only PieSplitType
.
getPieSplitBy
in interface IChartSeries
public final IPieSplitCustomPointCollection getPieSplitCustomPoints()
The custom split information for a pie-of-pie or bar-of-pie chart with a custom split.
Contains data points that shall be drawn in the second pie or bar in a pie-of-pie or
bar-of-pie chart.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property
Read-only PieSplitCustomPointCollection
.
getPieSplitCustomPoints
in interface IChartSeries
public final boolean isColorVaried()
Specifies that each data marker in the series has a different color.
This is the property not only of this series but of all series of parent series
group - this is projection of appropriate group property. And so this property
is read-only.
Use ParentSeriesGroup property for access to parent series group.
Use ParentSeriesGroup.IsColorVaried read/write property for change value.
Read-only boolean
.
isColorVaried
in interface IChartSeries
public final int getBubbleSizeScale()
Specifies the scale factor for the bubble chart (can be between 0 and 300 percents of the default size). This is the property not only of this series but of all series of parent series group - this is projection of appropriate group property. And so this property is read-only. Use ParentSeriesGroup property for access to parent series group. Use ParentSeriesGroup.BubbleSizeScale read/write property for change value.
getBubbleSizeScale
in interface IChartSeries
public final IBaseSlide getSlide()
Returns the parent slide of a FillFormat.
Read-only BaseSlide
.
getSlide
in interface ISlideComponent
public final IPresentation getPresentation()
Returns the parent presentation of a FillFormat.
Read-only IPresentation
.
getPresentation
in interface IPresentationComponent