Class AbstractTableBasedCategoryDataSeries

All Implemented Interfaces:
CategoryDataSeries, CategoryDataSeriesInternal, DataSeries, DataSeriesInternal, PlotExceptionCause, Series, SeriesInternal, Serializable
Direct Known Subclasses:
CategoryDataSeriesPartitionedTable, CategoryErrorBarDataSeriesPartitionedTable, CategoryTreemapDataSeriesTableMap

public abstract class AbstractTableBasedCategoryDataSeries extends AbstractCategoryDataSeries
See Also:
  • Constructor Details

  • Method Details

    • pointShape

      public CategoryDataSeries pointShape(Function<Comparable,String> pointShapes)
      Description copied from interface: CategoryDataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Parameters:
      pointShapes - function used to determine point shapes
      Returns:
      this CategoryDataSeries
    • pointSize

      public <NUMBER extends Number> CategoryDataSeries pointSize(Function<Comparable,NUMBER> pointSizes)
      Description copied from interface: CategoryDataSeries
      Sets the point size. A scale factor of 1 is the default size. A scale factor of 2 is 2x the default size. Unspecified points use the default size.
      Type Parameters:
      NUMBER - data type of the point sizes
      Parameters:
      pointSizes - function used to set sizes of data points
      Returns:
      this CategoryDataSeries
    • pointColor

      public <COLOR extends Paint> CategoryDataSeries pointColor(Function<Comparable,COLOR> pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Type Parameters:
      COLOR - type of color for the points
      Parameters:
      pointColor - function from data points to their Paints
      Returns:
      this CategoryDataSeries
    • pointColorInteger

      public <COLOR extends Integer> CategoryDataSeries pointColorInteger(Function<Comparable,COLOR> colors)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Type Parameters:
      COLOR - type of color for the points
      Parameters:
      colors - function from data points to the index of the color palette
      Returns:
      this CategoryDataSeries
    • pointLabel

      public <LABEL> CategoryDataSeries pointLabel(Function<Comparable,LABEL> pointLabels)
      Description copied from interface: CategoryDataSeries
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Type Parameters:
      LABEL - data type of the point labels
      Parameters:
      pointLabels - function used to determine point labels
      Returns:
      this CategoryDataSeries
    • constructTableFromFunction

      protected <S, T> Table constructTableFromFunction(Table t, Function<S,T> function, Class resultClass, String onColumn, String columnName)
    • getTable

      protected abstract Table getTable()
    • getCategoryCol

      protected abstract String getCategoryCol()
    • getValueCol

      protected abstract String getValueCol()