Class AbstractSeriesAdv

java.lang.Object
io.keikai.model.impl.AbstractSeriesAdv
All Implemented Interfaces:
SSeries, FormulaContent
Direct Known Subclasses:
SeriesImpl

public abstract class AbstractSeriesAdv extends Object implements SSeries
Handle formula caching for chart series data.
Since:
3.6.0
Author:
henri
  • Constructor Details

    • AbstractSeriesAdv

      public AbstractSeriesAdv()
  • Method Details

    • getNameFormulaExpression

      public abstract FormulaExpression getNameFormulaExpression()
      Since:
      3.6.0
    • getValuesFormulaExpression

      public abstract FormulaExpression getValuesFormulaExpression()
      Returns:
      Since:
      3.6.0
    • getXValuesFormulaExpression

      public abstract FormulaExpression getXValuesFormulaExpression()
      Returns:
      Since:
      3.6.0
    • getYValuesFormulaExpression

      public abstract FormulaExpression getYValuesFormulaExpression()
      Returns:
      Since:
      3.6.0
    • getZValuesFormulaExpression

      public abstract FormulaExpression getZValuesFormulaExpression()
      Returns:
      Since:
      3.6.0
    • setXYZFormula

      public abstract void setXYZFormula(FormulaExpression nameExpr, FormulaExpression xValuesExpr, FormulaExpression yValuesExpr, FormulaExpression zValuesExpr)
      Since:
      3.6.0
    • getDefaultColor

      public abstract SColor getDefaultColor()
      data point colors
      Since:
      5.2.0
    • setDefaultColor

      public abstract void setDefaultColor(SColor defaultColor)
    • getDataPointColors

      public abstract Map<Integer,SColor> getDataPointColors()
    • addDataPointColors

      public abstract void addDataPointColors(int index, SColor color)
    • getDataPointExplosions

      public abstract Map<Integer,Integer> getDataPointExplosions()
      KEIKAI-291: per-data-point pie/doughnut slice explosion (in percent, matching OOXML <c:dPt><c:explosion val="..."/>). Keyed by the 0-based point index; absent / 0 means no explosion.
      Since:
      5.2.0
    • addDataPointExplosion

      public abstract void addDataPointExplosion(int index, int explosion)
    • getOrder

      public abstract int getOrder()
      Since:
      5.3.0
    • setOrder

      public abstract void setOrder(int order)
    • isSmooth

      public abstract boolean isSmooth()
      Since:
      5.3.0
    • setSmooth

      public abstract void setSmooth(boolean _smooth)
    • isDataLabelsVisible

      public abstract boolean isDataLabelsVisible()
    • setDataLabelsVisible

      public abstract void setDataLabelsVisible(boolean dataLabelsVisible)
    • getDataLabels

      public abstract DataLabelsInfo getDataLabels()
      The series' declared data-label configuration, or null when the file declared none. isDataLabelsVisible() answers only whether labels are drawn; this says what they contain.
      Since:
      7.0.0
    • setDataLabels

      public abstract void setDataLabels(DataLabelsInfo dataLabels)
    • getTrendlines

      public abstract List<STrendline> getTrendlines()
      Description copied from interface: SSeries
      Returns an unmodifiable list of trendlines attached to this series.
      Specified by:
      getTrendlines in interface SSeries
      Returns:
      the trendlines, never null
      Since:
      7.0.0
    • addTrendline

      public abstract STrendline addTrendline(STrendline.TrendlineType type)
      Description copied from interface: SSeries
      Adds a new trendline of the given type and returns it.
      Specified by:
      addTrendline in interface SSeries
      Parameters:
      type - the trendline type
      Returns:
      the newly created trendline
      Since:
      7.0.0
    • getErrorBar

      public abstract SErrorBar getErrorBar()
      Description copied from interface: SSeries
      Returns the error bar attached to this series, or null if none.
      Specified by:
      getErrorBar in interface SSeries
      Returns:
      the error bar, or null
      Since:
      7.0.0
    • setErrorBar

      public abstract void setErrorBar(SErrorBar errorBar)
      Description copied from interface: SSeries
      Sets the error bar for this series.
      Specified by:
      setErrorBar in interface SSeries
      Parameters:
      errorBar - the error bar, or null to remove
      Since:
      7.0.0