Interface XDDFDataSource<T>

All Known Subinterfaces:
XDDFCategoryDataSource, XDDFNumericalDataSource<T>

@Beta public interface XDDFDataSource<T>
  • Method Details

    • getPointCount

      int getPointCount()
    • getPointAt

      T getPointAt(int index)
    • isLiteral

      boolean isLiteral()
      Since:
      4.0.2
    • isCellRange

      boolean isCellRange()
      Since:
      4.1.2
    • isReference

      boolean isReference()
    • isNumeric

      boolean isNumeric()
    • getColIndex

      int getColIndex()
    • getDataRangeReference

      String getDataRangeReference()
    • getFormula

      default String getFormula()
    • getFormatCode

      String getFormatCode()
    • getPointFormatCode

      default String getPointFormatCode(int index)
      Optional number format for a single data point in the numerical cache.

      Return null when this point has no point-specific format and should inherit the series format from getFormatCode(). Implementations that never use per-point formats can keep the default (null). NumericalCellRangeDataSource is one class that implements this method.

      Parameters:
      index - zero-based point index
      Returns:
      the data point's format code, or null if the underlying class does not support this method or if there is no format code set for this data point.
      Since:
      6.0.0
    • fillNumericalCache

      @Internal default void fillNumericalCache(org.openxmlformats.schemas.drawingml.x2006.chart.CTNumData cache)
      Since:
      5.0.0
    • fillStringCache

      @Internal default void fillStringCache(org.openxmlformats.schemas.drawingml.x2006.chart.CTStrData cache)
      Since:
      4.1.2