com.aspose.slides
Class ChartSeries

java.lang.Object
  extended by com.aspose.slides.ChartSeries
All Implemented Interfaces:
IChartComponent, IChartSeries

public class ChartSeries
extends java.lang.Object
implements IChartSeries

Represents a chart series.


Method Summary
 int getBar3DShape()
           Specifies the shape of a series of a 3-D bar chart.
 IChart getChart()
           Returns the parent chart.
 IChartDataPointCollection getDataPoints()
           Returns collection of data points of this series.
 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.
 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.
 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()
           
 IFormat getMarkerFill()
          Deprecated. 
 int getMarkerSize()
          Deprecated. 
 int getMarkerSymbol()
          Deprecated. 
 IStringChartValue getName()
           Return series name.
 IChartCellCollection getNameCells()
          Deprecated. 
 java.lang.String getNumberFormatOfBubbleSizes()
           
 java.lang.String getNumberFormatOfValues()
           
 java.lang.String getNumberFormatOfXValues()
           
 java.lang.String getNumberFormatOfYValues()
           
 int getOrder()
           Returns the order of a series.
 IChartSeriesGroup getParentSeriesGroup()
           
 boolean getPlotOnSecondAxis()
           Indicates if this series is plotted on secondary axis.
 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)
           
 void setExplosion(int value)
           
 void setInvertIfNegative(boolean value)
           
 void setMarkerSize(int value)
          Deprecated. 
 void setMarkerSymbol(int value)
          Deprecated. 
 void setNumberFormatOfBubbleSizes(java.lang.String value)
           
 void setNumberFormatOfValues(java.lang.String value)
           
 void setNumberFormatOfXValues(java.lang.String value)
           
 void setNumberFormatOfYValues(java.lang.String value)
           
 void setOrder(int value)
           
 void setPlotOnSecondAxis(boolean value)
           
 void setSmooth(boolean value)
           
 void setType(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getChart

public IChart getChart()

Returns the parent chart. Read-only IChart.

Specified by:
getChart in interface IChartComponent

getMarkerFill

@Deprecated
public IFormat getMarkerFill()
Deprecated. 

Gets or sets the marker fill


getExplosion

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

Specified by:
getExplosion in interface IChartSeries

setExplosion

public void setExplosion(int value)
Specified by:
setExplosion in interface IChartSeries

getSmooth

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

Specified by:
getSmooth in interface IChartSeries

setSmooth

public void setSmooth(boolean value)
Specified by:
setSmooth in interface IChartSeries

getMarkerSize

@Deprecated
public int getMarkerSize()
Deprecated. 

Represents the marker size in a line chart, scatter chart, or radar chart.


setMarkerSize

@Deprecated
public void setMarkerSize(int value)
Deprecated. 


getMarkerSymbol

@Deprecated
public int getMarkerSymbol()
Deprecated. 

Represents the marker style in a line chart, scatter chart, or radar chart.


setMarkerSymbol

@Deprecated
public void setMarkerSymbol(int value)
Deprecated. 


getNameCells

@Deprecated
public IChartCellCollection getNameCells()
Deprecated. 

Returns collection of cells with series names. Read-only IChartCellCollection.


getName

public IStringChartValue getName()

Return series name.

Specified by:
getName in interface IChartSeries

getDataPoints

public IChartDataPointCollection getDataPoints()

Returns collection of data points of this series.

Specified by:
getDataPoints in interface IChartSeries

getType

public int getType()

Returns a type of this series.

Specified by:
getType in interface IChartSeries

setType

public void setType(int value)
Specified by:
setType in interface IChartSeries

getPlotOnSecondAxis

public boolean getPlotOnSecondAxis()

Indicates if this series is plotted on secondary axis.

Specified by:
getPlotOnSecondAxis in interface IChartSeries

setPlotOnSecondAxis

public void setPlotOnSecondAxis(boolean value)
Specified by:
setPlotOnSecondAxis in interface IChartSeries

getParentSeriesGroup

public IChartSeriesGroup getParentSeriesGroup()
Specified by:
getParentSeriesGroup in interface IChartSeries

getFormat

public IFormat getFormat()

Returns the format of a series. Read-only Charts.Format.

Specified by:
getFormat in interface IChartSeries

getOrder

public int getOrder()

Returns the order of a series.

Specified by:
getOrder in interface IChartSeries

setOrder

public void setOrder(int value)
Specified by:
setOrder in interface IChartSeries

getLabels

public IDataLabelCollection getLabels()

Returns the Labels of a series. Read-only DataLabelCollection.

Specified by:
getLabels in interface IChartSeries

getTrendLines

public ITrendlineCollection getTrendLines()

Collection of series trend lines.


TrendLines are available (not null) for data series in unstacked 2-D area, bar, column, line, stock, xy (scatter), and bubble charts. A trendline are not available for data series in any chart type that is stacked or 3-D. Trendlines are also not available for radar, pie, surface, or doughnut charts.

Specified by:
getTrendLines in interface IChartSeries

getNumberFormatOfValues

public java.lang.String getNumberFormatOfValues()
Specified by:
getNumberFormatOfValues in interface IChartSeries

setNumberFormatOfValues

public void setNumberFormatOfValues(java.lang.String value)
Specified by:
setNumberFormatOfValues in interface IChartSeries

getNumberFormatOfXValues

public java.lang.String getNumberFormatOfXValues()
Specified by:
getNumberFormatOfXValues in interface IChartSeries

setNumberFormatOfXValues

public void setNumberFormatOfXValues(java.lang.String value)
Specified by:
setNumberFormatOfXValues in interface IChartSeries

getNumberFormatOfYValues

public java.lang.String getNumberFormatOfYValues()
Specified by:
getNumberFormatOfYValues in interface IChartSeries

setNumberFormatOfYValues

public void setNumberFormatOfYValues(java.lang.String value)
Specified by:
setNumberFormatOfYValues in interface IChartSeries

getNumberFormatOfBubbleSizes

public java.lang.String getNumberFormatOfBubbleSizes()
Specified by:
getNumberFormatOfBubbleSizes in interface IChartSeries

setNumberFormatOfBubbleSizes

public void setNumberFormatOfBubbleSizes(java.lang.String value)
Specified by:
setNumberFormatOfBubbleSizes in interface IChartSeries

getMarker

public IMarker getMarker()
Specified by:
getMarker in interface IChartSeries

getBar3DShape

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

Specified by:
getBar3DShape in interface IChartSeries

setBar3DShape

public void setBar3DShape(int value)
Specified by:
setBar3DShape in interface IChartSeries

getInvertIfNegative

public boolean getInvertIfNegative()

Specifies the bar, column or bubble series shall invert its colors if the value is negative.

Specified by:
getInvertIfNegative in interface IChartSeries

setInvertIfNegative

public void setInvertIfNegative(boolean value)
Specified by:
setInvertIfNegative in interface IChartSeries

hasUpDownBars

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


This is the projection of the property ParentSeriesGroup.UpDownBars.HasUpDownBars.

Specified by:
hasUpDownBars in interface IChartSeries

getGapWidth

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


This is the projection of the property ParentSeriesGroup.GapWidth.

Specified by:
getGapWidth in interface IChartSeries

getGapDepth

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


This is the projection of the property ParentSeriesGroup.GapDepth.

Specified by:
getGapDepth in interface IChartSeries

hasSeriesLines

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


This is the projection of the property ParentSeriesGroup.HasSeriesLines.

Specified by:
hasSeriesLines in interface IChartSeries

isColorVaried

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


This is the projection of the property ParentSeriesGroup.IsColorVaried.

Specified by:
isColorVaried in interface IChartSeries