Interface CategoryDataSeriesInternal

All Superinterfaces:
CategoryDataSeries, DataSeries, DataSeriesInternal, PlotExceptionCause, Serializable, Series, SeriesInternal
All Known Subinterfaces:
CategoryErrorBarDataSeriesInternal, CategorySwappableTableDataSeriesInternal, CategoryTableDataSeriesInternal
All Known Implementing Classes:
AbstractCategoryDataSeries, AbstractMapBasedCategoryDataSeries, AbstractSwappableTableBasedCategoryDataSeries, AbstractTableBasedCategoryDataSeries, CategoryDataSeriesMap, CategoryDataSeriesPartitionedTable, CategoryDataSeriesSwappablePartitionedTable, CategoryErrorBarDataSeriesMap, CategoryErrorBarDataSeriesPartitionedTable, CategoryErrorBarDataSeriesSwappablePartitionedTable, CategoryTreemapDataSeriesTableMap

public interface CategoryDataSeriesInternal extends CategoryDataSeries, DataSeriesInternal
Dataset with discrete and numeric components. Discrete values must extend Comparable and are called categories.
  • Method Details

    • copy

      Description copied from interface: SeriesInternal
      Create a copy of the series on a different set of axes.
      Specified by:
      copy in interface DataSeriesInternal
      Specified by:
      copy in interface SeriesInternal
      Parameters:
      axes - new axes.
      Returns:
      copy of the series on a different set of axes.
    • categories

      Collection<Comparable> categories()
      Gets the categories of the dataset.
      Returns:
      all categories in the dataset
    • getValue

      Number getValue(Comparable category)
      Gets the numeric value corresponding to the given category.
      Parameters:
      category - category
      Returns:
      numeric value corresponding to the given category
    • getColor

      Paint getColor(Comparable category)
      Gets the Paint for the given data point.
      Parameters:
      category - category
      Returns:
      Paint for the given data point
    • getPointSize

      Double getPointSize()
      Gets the default point size for data points.
      Returns:
      default point size for the given data point
    • getPointSize

      Double getPointSize(Comparable category)
      Gets the point size for the given data point.
      Parameters:
      category - category
      Returns:
      point size for the given data point
    • getLabel

      String getLabel()
      Gets the default point label for data points.
      Returns:
      default point label for the given data point
    • getLabel

      String getLabel(Comparable category)
      Gets the point label for the given data point.
      Parameters:
      category - category
      Returns:
      point label for the given data point
    • getPointShape

      Shape getPointShape()
      Gets the default point shape for data points.
      Returns:
      default point shape for data points
    • getPointShape

      Shape getPointShape(Comparable category)
      Gets the point shape for the given data point.
      Parameters:
      category - category
      Returns:
      point shape for the given data point
    • getGroup

      int getGroup()
      Gets the group for this dataset.
      Returns:
      group for this dataset
    • getStartY

      default Number getStartY(Comparable category)
    • getEndY

      default Number getEndY(Comparable category)
    • drawYError

      default boolean drawYError()
    • getPiePercentLabelFormat

      String getPiePercentLabelFormat()
      Gets the pie plot percent label format.
      Returns:
      pie plot percent label format
    • getCategoryLocation

      long getCategoryLocation(Comparable category)
      Get the row key of the specified series.
      Returns: