Class CategoryErrorBarDataSeriesKernel

java.lang.Object
io.deephaven.plot.datasets.categoryerrorbar.CategoryErrorBarDataSeriesKernel

public class CategoryErrorBarDataSeriesKernel extends Object
The core of the Error Bar Category date series update and indexing. This is used by the regular category data series to both update the values of existing categories as well as to ensure that new categories are maintained in order of the original table.
  • Constructor Details

    • CategoryErrorBarDataSeriesKernel

      public CategoryErrorBarDataSeriesKernel(@NotNull @NotNull String categoryCol, @NotNull @NotNull String valueColumn, @NotNull @NotNull String errorBarLowColumn, @NotNull @NotNull String errorBarHighColumn, @NotNull @NotNull PlotInfo plotInfo)
  • Method Details

    • initMinMax

      public void initMinMax()
      Reinitialize the min and max values to Nan in preparation for reinitialization
    • size

      public int size()
      Get the size of the dataset (the number of categories)
      Returns:
      the number of categories in the dataset.
    • categories

      public Collection<Comparable> categories()
      Get an ordered list of the categories in the data.
      Returns:
      the ordered categories of the data
    • getValue

      @Nullable public @Nullable Number getValue(Comparable<?> category)
      Get the value of the specified category, or null if there was none.
      Parameters:
      category - The category to get the value of
      Returns:
      the value of the specified category
    • getCategoryKey

      public long getCategoryKey(Comparable<?> category)
      Get the index key of the category within the original dataset. This can be used to enforce a global ordering of a MultiSeries cat plot.
      Parameters:
      category - The category to locate.
      Returns:
      the key of the specified category within the original data set. or -1 if not present.
    • getStartY

      public Number getStartY(Comparable<?> category)
    • getEndY

      public Number getEndY(Comparable<?> category)