com.aspose.slides
Interface IChartSeries

All Superinterfaces:
IChartComponent, IPresentationComponent, ISlideComponent
All Known Implementing Classes:
ChartSeries

public interface IChartSeries
extends IChartComponent

Represents a chart series.


Method Summary
 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.
 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.
 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()
           Return series marker.
 IStringChartValue getName()
           Return series name.
 java.lang.String getNumberFormatOfBubbleSizes()
           Returns or sets the number format for series bubble sizes.
 java.lang.String getNumberFormatOfValues()
           Returns or sets the number format for series values.
 java.lang.String getNumberFormatOfXValues()
           Returns or sets the number format for series x values.
 java.lang.String getNumberFormatOfYValues()
           Returns or sets the number format for series y values.
 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).
 IChartSeriesGroup getParentSeriesGroup()
           Returns parent series group.
 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 second value axis.
 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 getSmooth()
           Represents curve smoothing.
 ITrendlineCollection getTrendLines()
           Collection of series trend lines Read-only ITrendlineCollection.
 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)
           Returns or sets the number format for series bubble sizes.
 void setNumberFormatOfValues(java.lang.String value)
           Returns or sets the number format for series values.
 void setNumberFormatOfXValues(java.lang.String value)
           Returns or sets the number format for series x values.
 void setNumberFormatOfYValues(java.lang.String value)
           Returns or sets the number format for series y values.
 void setOrder(int value)
           Returns the order of a series.
 void setPlotOnSecondAxis(boolean value)
           Indicates if this series is plotted on second value axis.
 void setSmooth(boolean value)
           Represents curve smoothing.
 void setType(int value)
           Returns a type of this series.
 
Methods inherited from interface com.aspose.slides.IChartComponent
getChart
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

Method Detail

getExplosion

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.


setExplosion

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.


getSmooth

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


setSmooth

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


getMarker

IMarker getMarker()

Return series marker. Read-only IMarker.


getBar3DShape

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.


setBar3DShape

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.


getName

IStringChartValue getName()

Return series name. Read-only IStringChartValue.


getDataPoints

IChartDataPointCollection getDataPoints()

Returns collection of data points of this series. Read-only IChartDataPointCollection.


getType

int getType()

Returns a type of this series. Read/write ChartType.


setType

void setType(int value)

Returns a type of this series. Read/write ChartType.


getParentSeriesGroup

IChartSeriesGroup getParentSeriesGroup()

Returns parent series group. Read-only IChartSeriesGroup.


getFormat

IFormat getFormat()

Returns the format of a series. Read-only IFormat.


getOrder

int getOrder()

Returns the order of a series. Read/write int.


setOrder

void setOrder(int value)

Returns the order of a series. Read/write int.


getLabels

IDataLabelCollection getLabels()

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


getTrendLines

ITrendlineCollection getTrendLines()

Collection of series trend lines Read-only ITrendlineCollection.


getErrorBarsXFormat

IErrorBarsFormat getErrorBarsXFormat()

Represents ErrorBars of series with derection X.


ErrorBars with X direction are avalible for series of type area, bar, scatter and bubble. For any other types of chart this property returns null (including 3D charts). In case of custom values use DataPoints collection to specify value (with IChartDataPoint.ErrorBarsCustomValues property). Read-only IErrorBarsFormat.


getErrorBarsYFormat

IErrorBarsFormat getErrorBarsYFormat()

Represents ErrorBars of series with derection Y.


ErrorBars with Y direction are avalible for series of type area, bar, line, scatter and bubble. For any other types of chart this property returns null (including 3D charts). In case of custom values use DataPoints collection to specify value (with IChartDataPoint.ErrorBarsCustomValues property). Read-only IErrorBarsFormat.


getPlotOnSecondAxis

boolean getPlotOnSecondAxis()

Indicates if this series is plotted on second value axis. Read/write boolean.


setPlotOnSecondAxis

void setPlotOnSecondAxis(boolean value)

Indicates if this series is plotted on second value axis. Read/write boolean.


getNumberFormatOfValues

java.lang.String getNumberFormatOfValues()

Returns or sets the number format for series values. Read/write String.


setNumberFormatOfValues

void setNumberFormatOfValues(java.lang.String value)

Returns or sets the number format for series values. Read/write String.


getNumberFormatOfXValues

java.lang.String getNumberFormatOfXValues()

Returns or sets the number format for series x values. Read/write String.


setNumberFormatOfXValues

void setNumberFormatOfXValues(java.lang.String value)

Returns or sets the number format for series x values. Read/write String.


getNumberFormatOfYValues

java.lang.String getNumberFormatOfYValues()

Returns or sets the number format for series y values. Read/write String.


setNumberFormatOfYValues

void setNumberFormatOfYValues(java.lang.String value)

Returns or sets the number format for series y values. Read/write String.


getNumberFormatOfBubbleSizes

java.lang.String getNumberFormatOfBubbleSizes()

Returns or sets the number format for series bubble sizes. Read/write String.


setNumberFormatOfBubbleSizes

void setNumberFormatOfBubbleSizes(java.lang.String value)

Returns or sets the number format for series bubble sizes. Read/write String.


getInvertIfNegative

boolean getInvertIfNegative()

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


setInvertIfNegative

void setInvertIfNegative(boolean value)

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


getAutomaticSeriesColor

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.

Returns:

hasUpDownBars

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.


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


getGapWidth

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.


This is the projection of the property ParentSeriesGroup.GapWidth.


getGapDepth

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.


This is the projection of the property ParentSeriesGroup.GapDepth.


isColorVaried

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.


This is the projection of the property ParentSeriesGroup.IsColorVaried.


hasSeriesLines

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.


This is the projection of the property ParentSeriesGroup.HasSeriesLines.


getOverlap

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


This is the projection of the property ParentSeriesGroup.Overlap.


getSecondPieSize

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


This is the projection of the property ParentSeriesGroup.SecondPieSize.


getPieSplitPosition

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.


This is the projection of the property ParentSeriesGroup.PieSplitPosition.


getPieSplitBy

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.


1) This is the projection of the property ParentSeriesGroup.PieSplitBy. 2) If property value is PieSplitBy.Custom then you can define custom split information with ParentSeriesGroup.PieSplitCustomPoints property.


getDoughnutHoleSize

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.


This is the projection of the property ParentSeriesGroup.DoughnutHoleSize.


getFirstSliceAngle

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


This is the projection of the property ParentSeriesGroup.FirstSliceAngle.


getPieSplitCustomPoints

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.


This is the projection of the property ParentSeriesGroup.PieSplitCustomPoints.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.