com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class ChartSeries

  • java.lang.Object
    • com.aspose.slides.ChartSeries
    • Method Detail

      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.

      • getExplosion

        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.

        Specified by:
        getExplosion in interface IChartSeries
      • setExplosion

        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.

        Specified by:
        setExplosion in interface IChartSeries
      • getSmooth

        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.

        Specified by:
        getSmooth in interface IChartSeries
      • setSmooth

        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.

        Specified by:
        setSmooth in interface IChartSeries
      • getType

        public final int getType()

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

        Specified by:
        getType in interface IChartSeries
      • setType

        public final void setType(int value)

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

        Specified by:
        setType in interface IChartSeries
      • getPlotOnSecondAxis

        public final boolean getPlotOnSecondAxis()

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

        Specified by:
        getPlotOnSecondAxis in interface IChartSeries
      • setPlotOnSecondAxis

        public final void setPlotOnSecondAxis(boolean value)

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

        Specified by:
        setPlotOnSecondAxis in interface IChartSeries
      • getOrder

        public final int getOrder()

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

        Specified by:
        getOrder in interface IChartSeries
      • setOrder

        public final void setOrder(int value)

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

        Specified by:
        setOrder in interface IChartSeries
      • getTrendLines

        public final ITrendlineCollection getTrendLines()

        Collection of series trend lines. Read-only ITrendlineCollection.


        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
      • getErrorBarsXFormat

        public final IErrorBarsFormat getErrorBarsXFormat()

        Represents ErrorBars of series with derection X. Read-only IErrorBarsFormat.


        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(IChartDataPoint.getErrorBarsCustomValues()) property).

        Specified by:
        getErrorBarsXFormat in interface IChartSeries
      • getErrorBarsYFormat

        public final IErrorBarsFormat getErrorBarsYFormat()

        Represents ErrorBars of series with derection Y. Read-only IErrorBarsFormat.


        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(IChartDataPoint.getErrorBarsCustomValues()) property).

        Specified by:
        getErrorBarsYFormat in interface IChartSeries
      • getNumberFormatOfValues

        public final java.lang.String getNumberFormatOfValues()

        NumberFormatOfValues. Read/write String.

        Specified by:
        getNumberFormatOfValues in interface IChartSeries
      • setNumberFormatOfValues

        public final void setNumberFormatOfValues(java.lang.String value)

        NumberFormatOfValues. Read/write String.

        Specified by:
        setNumberFormatOfValues in interface IChartSeries
      • getNumberFormatOfXValues

        public final java.lang.String getNumberFormatOfXValues()

        NumberFormatOfXValues. Read/write String.

        Specified by:
        getNumberFormatOfXValues in interface IChartSeries
      • setNumberFormatOfXValues

        public final void setNumberFormatOfXValues(java.lang.String value)

        NumberFormatOfXValues. Read/write String.

        Specified by:
        setNumberFormatOfXValues in interface IChartSeries
      • getNumberFormatOfYValues

        public final java.lang.String getNumberFormatOfYValues()

        NumberFormatOfYValues. Read/write String.

        Specified by:
        getNumberFormatOfYValues in interface IChartSeries
      • setNumberFormatOfYValues

        public final void setNumberFormatOfYValues(java.lang.String value)

        NumberFormatOfYValues. Read/write String.

        Specified by:
        setNumberFormatOfYValues in interface IChartSeries
      • getNumberFormatOfBubbleSizes

        public final java.lang.String getNumberFormatOfBubbleSizes()

        NumberFormatOfBubbleSizes. Read/write String.

        Specified by:
        getNumberFormatOfBubbleSizes in interface IChartSeries
      • setNumberFormatOfBubbleSizes

        public final void setNumberFormatOfBubbleSizes(java.lang.String value)

        NumberFormatOfBubbleSizes. Read/write String.

        Specified by:
        setNumberFormatOfBubbleSizes in interface IChartSeries
      • getBar3DShape

        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.

        Specified by:
        getBar3DShape in interface IChartSeries
      • setBar3DShape

        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.

        Specified by:
        setBar3DShape in interface IChartSeries
      • getInvertIfNegative

        public final boolean getInvertIfNegative()

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

        Specified by:
        getInvertIfNegative in interface IChartSeries
      • setInvertIfNegative

        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.

        Specified by:
        setInvertIfNegative in interface IChartSeries
      • getAutomaticSeriesColor

        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.

        Specified by:
        getAutomaticSeriesColor in interface IChartSeries
        Returns:
        The Color object.
      • getShowInnerPoints

        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.

        Specified by:
        getShowInnerPoints in interface IChartSeries
      • setShowInnerPoints

        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.

        Specified by:
        setShowInnerPoints in interface IChartSeries
      • getShowOutlierPoints

        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.

        Specified by:
        getShowOutlierPoints in interface IChartSeries
      • setShowOutlierPoints

        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.

        Specified by:
        setShowOutlierPoints in interface IChartSeries
      • getShowMeanMarkers

        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.

        Specified by:
        getShowMeanMarkers in interface IChartSeries
      • setShowMeanMarkers

        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.

        Specified by:
        setShowMeanMarkers in interface IChartSeries
      • getShowMeanLine

        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.

        Specified by:
        getShowMeanLine in interface IChartSeries
      • setShowMeanLine

        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.

        Specified by:
        setShowMeanLine in interface IChartSeries
      • getQuartileMethod

        public final int getQuartileMethod()

        Represents quartile method. Applies only to BoxAndWhisker charts.

        Specified by:
        getQuartileMethod in interface IChartSeries
      • setQuartileMethod

        public final void setQuartileMethod(int value)

        Represents quartile method. Applies only to BoxAndWhisker charts.

        Specified by:
        setQuartileMethod in interface IChartSeries
      • getShowConnectorLines

        public final boolean getShowConnectorLines()

        Represents connector lines. Applies only to Waterfall charts.

        Specified by:
        getShowConnectorLines in interface IChartSeries
      • setShowConnectorLines

        public final void setShowConnectorLines(boolean value)

        Represents connector lines. Applies only to Waterfall charts.

        Specified by:
        setShowConnectorLines in interface IChartSeries
      • getParentLabelLayout

        public final int getParentLabelLayout()

        Represents layout of parent category labels. Applies only to Treemap charts.

        Specified by:
        getParentLabelLayout in interface IChartSeries
      • setParentLabelLayout

        public final void setParentLabelLayout(int value)

        Represents layout of parent category labels. Applies only to Treemap charts.

        Specified by:
        setParentLabelLayout in interface IChartSeries
      • hasUpDownBars

        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.


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

        Specified by:
        hasUpDownBars in interface IChartSeries
      • getGapWidth

        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.


        This is the projection of the property ParentSeriesGroup.GapWidth.

        Specified by:
        getGapWidth in interface IChartSeries
      • getGapDepth

        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.


        This is the projection of the property ParentSeriesGroup.GapDepth.

        Specified by:
        getGapDepth in interface IChartSeries
      • getFirstSliceAngle

        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.


        This is the projection of the property ParentSeriesGroup.FirstSliceAngle.

        Specified by:
        getFirstSliceAngle in interface IChartSeries
      • getDoughnutHoleSize

        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.


        This is the projection of the property ParentSeriesGroup.DoughnutHoleSize.

        Specified by:
        getDoughnutHoleSize in interface IChartSeries
      • getOverlap

        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.


        This is the projection of the property ParentSeriesGroup.Overlap.

        Specified by:
        getOverlap in interface IChartSeries
      • getSecondPieSize

        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.


        This is the projection of the property ParentSeriesGroup.SecondPieSize.

        Specified by:
        getSecondPieSize in interface IChartSeries
      • hasSeriesLines

        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.


        This is the projection of the property ParentSeriesGroup.HasSeriesLines.

        Specified by:
        hasSeriesLines in interface IChartSeries
      • getPieSplitPosition

        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.


        This is the projection of the property ParentSeriesGroup.PieSplitPosition.

        Specified by:
        getPieSplitPosition in interface IChartSeries
      • getPieSplitBy

        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.


        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.

        Specified by:
        getPieSplitBy in interface IChartSeries
      • getPieSplitCustomPoints

        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.


        This is the projection of the property ParentSeriesGroup.PieSplitCustomPoints.

        Specified by:
        getPieSplitCustomPoints in interface IChartSeries
      • isColorVaried

        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.


        This is the projection of the property ParentSeriesGroup.IsColorVaried.

        Specified by:
        isColorVaried in interface IChartSeries
      • getBubbleSizeScale

        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.


        This is the projection of the property ParentSeriesGroup.BubbleSizeScale.

        Specified by:
        getBubbleSizeScale in interface IChartSeries