Class AbstractMapBasedCategoryDataSeries

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

public abstract class AbstractMapBasedCategoryDataSeries 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> AbstractCategoryDataSeries 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> AbstractCategoryDataSeries 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> AbstractCategoryDataSeries 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> AbstractCategoryDataSeries 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