Class AbstractSwappableTableBasedCategoryDataSeries

All Implemented Interfaces:
CategoryDataSeries, CategoryDataSeriesInternal, DataSeries, DataSeriesInternal, PlotExceptionCause, Series, SeriesInternal, Serializable
Direct Known Subclasses:
CategoryDataSeriesSwappableTableMap, CategoryErrorBarDataSeriesSwappableTableMap

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

  • Method Details

    • pointShape

      public CategoryDataSeries pointShape(Function<Comparable,String> shapes)
      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:
      shapes - function used to determine point shapes
      Returns:
      this CategoryDataSeries
    • pointSize

      public <NUMBER extends Number> CategoryDataSeries pointSize(Function<Comparable,NUMBER> factors)
      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:
      factors - function used to set sizes of data points
      Returns:
      this CategoryDataSeries
    • pointColor

      public <COLOR extends Paint> CategoryDataSeries pointColor(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 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
    • pointColorByY

      public <T extends Paint> CategoryDataSeries pointColorByY(Function<Double,T> colors)
      Description copied from interface: DataSeries
      Sets the point color for a data point based upon the y-value.
      Parameters:
      colors - function from the y-value of data points to Paint
      Returns:
      this DataSeries
    • pointLabel

      public <LABEL> CategoryDataSeries pointLabel(Function<Comparable,LABEL> labels)
      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:
      labels - function used to determine point labels
      Returns:
      this CategoryDataSeries
    • constructTableMapFromFunction

      protected <S, T> Function<Table,Table> constructTableMapFromFunction(Function<S,T> function, Class resultClass, String onColumn, String columnName)
    • getSwappableTable

      protected abstract SwappableTable getSwappableTable()
    • getCategoryCol

      protected abstract String getCategoryCol()
    • getNumericCol

      protected abstract String getNumericCol()