Class AbstractCategoryDataSeries

All Implemented Interfaces:
CategoryDataSeries, CategoryDataSeriesInternal, DataSeries, DataSeriesInternal, PlotExceptionCause, Series, SeriesInternal, Serializable
Direct Known Subclasses:
AbstractMapBasedCategoryDataSeries, AbstractSwappableTableBasedCategoryDataSeries, AbstractTableBasedCategoryDataSeries

public abstract class AbstractCategoryDataSeries extends AbstractDataSeries implements CategoryDataSeriesInternal
Common class for CategoryDataSeriesInternal.

Please note that any method which uses a SwappableTable must call a lastBy()!

See Also:
  • Constructor Details

    • AbstractCategoryDataSeries

      public AbstractCategoryDataSeries(AxesImpl axes, int id, Comparable name)
    • AbstractCategoryDataSeries

      public AbstractCategoryDataSeries(AxesImpl axes, int id, Comparable name, AbstractCategoryDataSeries series)
      Creates an AbstractCategoryDataSeries instance.
      Parameters:
      axes - axes on which this series will be plotted
      id - data series id
      name - series name
      series - series to copy
    • AbstractCategoryDataSeries

      protected AbstractCategoryDataSeries(AbstractCategoryDataSeries series, AxesImpl axes)
      Creates a copy of a series using a different Axes.
      Parameters:
      series - series to copy.
      axes - new axes to use.
  • Method Details

    • colorsSetSpecific

      protected void colorsSetSpecific(AssociativeData<Comparable,io.deephaven.gui.color.Paint> data)
    • labelsSetSpecific

      protected void labelsSetSpecific(AssociativeData<Comparable,String> data)
    • sizesSetSpecific

      protected void sizesSetSpecific(AssociativeData<Comparable,Double> data)
    • shapesSetSpecific

      protected void shapesSetSpecific(AssociativeData<Comparable,Shape> data)
    • getColor

      public io.deephaven.gui.color.Paint getColor(Comparable category)
      Description copied from interface: CategoryDataSeriesInternal
      Gets the Paint for the given data point.
      Specified by:
      getColor in interface CategoryDataSeriesInternal
      Parameters:
      category - category
      Returns:
      Paint for the given data point
    • getPointSize

      public Double getPointSize()
      Description copied from interface: CategoryDataSeriesInternal
      Gets the default point size for data points.
      Specified by:
      getPointSize in interface CategoryDataSeriesInternal
      Returns:
      default point size for the given data point
    • getPointSize

      public Double getPointSize(Comparable category)
      Description copied from interface: CategoryDataSeriesInternal
      Gets the point size for the given data point.
      Specified by:
      getPointSize in interface CategoryDataSeriesInternal
      Parameters:
      category - category
      Returns:
      point size for the given data point
    • getSeriesColor

      public io.deephaven.gui.color.Paint getSeriesColor()
      Description copied from interface: DataSeriesInternal
      Gets the series color.
      Specified by:
      getSeriesColor in interface DataSeriesInternal
      Returns:
      series color
    • getLabel

      public String getLabel()
      Description copied from interface: CategoryDataSeriesInternal
      Gets the default point label for data points.
      Specified by:
      getLabel in interface CategoryDataSeriesInternal
      Returns:
      default point label for the given data point
    • getLabel

      public String getLabel(Comparable category)
      Description copied from interface: CategoryDataSeriesInternal
      Gets the point label for the given data point.
      Specified by:
      getLabel in interface CategoryDataSeriesInternal
      Parameters:
      category - category
      Returns:
      point label for the given data point
    • getPointShape

      public Shape getPointShape()
      Description copied from interface: CategoryDataSeriesInternal
      Gets the default point shape for data points.
      Specified by:
      getPointShape in interface CategoryDataSeriesInternal
      Returns:
      default point shape for data points
    • getPointShape

      public Shape getPointShape(Comparable category)
      Description copied from interface: CategoryDataSeriesInternal
      Gets the point shape for the given data point.
      Specified by:
      getPointShape in interface CategoryDataSeriesInternal
      Parameters:
      category - category
      Returns:
      point shape for the given data point
    • getGroup

      public int getGroup()
      Description copied from interface: CategoryDataSeriesInternal
      Gets the group for this dataset.
      Specified by:
      getGroup in interface CategoryDataSeriesInternal
      Returns:
      group for this dataset
    • getPiePercentLabelFormat

      public String getPiePercentLabelFormat()
      Description copied from interface: CategoryDataSeriesInternal
      Gets the pie plot percent label format.
      Specified by:
      getPiePercentLabelFormat in interface CategoryDataSeriesInternal
      Returns:
      pie plot percent label format
    • group

      public AbstractCategoryDataSeries group(int group)
      Description copied from interface: CategoryDataSeries
      Sets the group for this dataset.
      Specified by:
      group in interface CategoryDataSeries
      Returns:
      this data series.
    • linesVisible

      public AbstractCategoryDataSeries linesVisible(Boolean visible)
      Description copied from interface: CategoryDataSeries
      Sets the visibility of the lines for this dataset.
      Specified by:
      linesVisible in interface CategoryDataSeries
      Specified by:
      linesVisible in interface DataSeries
      Parameters:
      visible - whether to display lines or not
      Returns:
      this CategoryDataSeries
    • pointsVisible

      public AbstractCategoryDataSeries pointsVisible(Boolean visible)
      Description copied from interface: CategoryDataSeries
      Sets the visibility of the point shapes for this dataset.
      Specified by:
      pointsVisible in interface CategoryDataSeries
      Specified by:
      pointsVisible in interface DataSeries
      Parameters:
      visible - whether to display point shapes or not
      Returns:
      this CategoryDataSeries
    • gradientVisible

      public AbstractCategoryDataSeries gradientVisible(boolean gradientVisible)
      Description copied from interface: CategoryDataSeries
      Sets the visibility of bar gradients for this dataset.
      Specified by:
      gradientVisible in interface CategoryDataSeries
      Specified by:
      gradientVisible in interface DataSeries
      Parameters:
      gradientVisible - whether to display bar gradients or not
      Returns:
      this CategoryDataSeries
    • seriesColor

      public AbstractCategoryDataSeries seriesColor(io.deephaven.gui.color.Paint color)
      Sets the default Paint for this dataset.
      Specified by:
      seriesColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this CategoryDataSeries
    • seriesColor

      public AbstractCategoryDataSeries seriesColor(int color)
      Sets the default Paint for this dataset.
      Specified by:
      seriesColor in interface DataSeries
      Parameters:
      color - index of the color in the series color palette
      Returns:
      this CategoryDataSeries
    • seriesColor

      public AbstractCategoryDataSeries seriesColor(String color)
      Sets the default Paint for this dataset.
      Specified by:
      seriesColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this CategoryDataSeries
    • lineColor

      public AbstractCategoryDataSeries lineColor(io.deephaven.gui.color.Paint color)
      Description copied from interface: CategoryDataSeries
      Sets the default line Paint for this dataset.
      Specified by:
      lineColor in interface CategoryDataSeries
      Specified by:
      lineColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this CategoryDataSeries
    • lineColor

      public AbstractCategoryDataSeries lineColor(int color)
      Description copied from interface: CategoryDataSeries
      Sets the default line Paint for this dataset.
      Specified by:
      lineColor in interface CategoryDataSeries
      Specified by:
      lineColor in interface DataSeries
      Parameters:
      color - index of the color in the series color palette
      Returns:
      this CategoryDataSeries
    • lineColor

      public AbstractCategoryDataSeries lineColor(String color)
      Description copied from interface: CategoryDataSeries
      Sets the default line Paint for this dataset.
      Specified by:
      lineColor in interface CategoryDataSeries
      Specified by:
      lineColor in interface DataSeries
      Parameters:
      color - color
      Returns:
      this CategoryDataSeries
    • errorBarColor

      public AbstractCategoryDataSeries errorBarColor(io.deephaven.gui.color.Paint errorBarColor)
      Description copied from interface: CategoryDataSeries
      Sets the error bar Paint for this dataset.
      Specified by:
      errorBarColor in interface CategoryDataSeries
      Specified by:
      errorBarColor in interface DataSeries
      Parameters:
      errorBarColor - color
      Returns:
      this CategoryDataSeries
    • errorBarColor

      public AbstractCategoryDataSeries errorBarColor(int errorBarColor)
      Description copied from interface: CategoryDataSeries
      Sets the error bar Paint for this dataset.
      Specified by:
      errorBarColor in interface CategoryDataSeries
      Specified by:
      errorBarColor in interface DataSeries
      Parameters:
      errorBarColor - index of the color in the series color palette
      Returns:
      this CategoryDataSeries
    • errorBarColor

      public AbstractCategoryDataSeries errorBarColor(String errorBarColor)
      Description copied from interface: CategoryDataSeries
      Sets the error bar Paint for this dataset.
      Specified by:
      errorBarColor in interface CategoryDataSeries
      Specified by:
      errorBarColor in interface DataSeries
      Parameters:
      errorBarColor - color
      Returns:
      this CategoryDataSeries
    • lineStyle

      public AbstractCategoryDataSeries lineStyle(LineStyle lineStyle)
      Description copied from interface: CategoryDataSeries
      Sets the LineStyle for this dataset
      Specified by:
      lineStyle in interface CategoryDataSeries
      Specified by:
      lineStyle in interface DataSeries
      Parameters:
      lineStyle - line style
      Returns:
      this dat
    • pointSize

      public AbstractCategoryDataSeries pointSize(int pointSize)
      Description copied from interface: DataSeries
      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.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      pointSize - point size
      Returns:
      this data series.
    • pointSize

      public AbstractCategoryDataSeries pointSize(long pointSize)
      Description copied from interface: DataSeries
      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.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      pointSize - point size
      Returns:
      this data series.
    • pointSize

      public AbstractCategoryDataSeries pointSize(double pointSize)
      Description copied from interface: DataSeries
      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.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      pointSize - point size
      Returns:
      this data series.
    • pointSize

      public AbstractCategoryDataSeries pointSize(Number pointSize)
      Description copied from interface: DataSeries
      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.
      Specified by:
      pointSize in interface DataSeries
      Parameters:
      pointSize - point size
      Returns:
      this data series.
    • pointSize

      public AbstractCategoryDataSeries pointSize(Comparable category, int pointSize)
      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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Parameters:
      category - data point
      pointSize - factor to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public AbstractCategoryDataSeries pointSize(Comparable category, long pointSize)
      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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Parameters:
      category - data point
      pointSize - factor to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public AbstractCategoryDataSeries pointSize(Comparable category, double pointSize)
      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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Parameters:
      category - data point
      pointSize - factor to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public AbstractCategoryDataSeries pointSize(Comparable category, Number pointSize)
      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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Parameters:
      category - data point
      pointSize - factor to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, int[] 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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      Parameters:
      categories - data points
      pointSizes - factors to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, long[] 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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      Parameters:
      categories - data points
      pointSizes - factors to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public <CATEGORY extends Comparable, NUMBER extends Number> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, 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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      NUMBER - data type of the point sizes
      Parameters:
      categories - data points
      pointSizes - factors to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public <CATEGORY extends Comparable> AbstractCategoryDataSeries pointSize(CATEGORY[] categories, double[] 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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      Parameters:
      categories - data points
      pointSizes - factors to multiply the default size (1) by
      Returns:
      this CategoryDataSeries
    • pointSize

      public <CATEGORY extends Comparable, NUMBER extends Number> AbstractCategoryDataSeries pointSize(Map<CATEGORY,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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      NUMBER - data type of the point sizes
      Parameters:
      pointSizes - map used to set sizes of specific data points
      Returns:
      this CategoryDataSeries
    • pointSize

      public AbstractCategoryDataSeries pointSize(io.deephaven.engine.table.Table t, String category, String pointSize)
      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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Parameters:
      t - table
      category - column in t, specifying category values
      pointSize - column in t, specifying point sizes
      Returns:
      this CategoryDataSeries
    • pointSize

      public AbstractCategoryDataSeries pointSize(SelectableDataSet sds, String category, String pointSize)
      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.
      Specified by:
      pointSize in interface CategoryDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table)
      category - column in sds, specifying category values
      pointSize - column in sds, specifying point sizes
      Returns:
      this CategoryDataSeries
    • pointColor

      public AbstractCategoryDataSeries pointColor(io.deephaven.gui.color.Paint pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Specified by:
      pointColor in interface DataSeries
      Parameters:
      pointColor - default point color
      Returns:
      this CategoryDataSeries
    • pointColor

      public AbstractCategoryDataSeries pointColor(int pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Specified by:
      pointColor in interface DataSeries
      Parameters:
      pointColor - index of the color in the series color palette to use as the default color
      Returns:
      this CategoryDataSeries
    • pointColor

      public CategoryDataSeriesInternal pointColor(String pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Specified by:
      pointColor in interface DataSeries
      Parameters:
      pointColor - default point color
      Returns:
      this CategoryDataSeries
    • pointColor

      public AbstractCategoryDataSeries pointColor(Comparable category, io.deephaven.gui.color.Paint color)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Parameters:
      category - data point
      color - color
      Returns:
      this CategoryDataSeries
    • pointColor

      public AbstractCategoryDataSeries pointColor(Comparable category, int pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Parameters:
      category - data point
      pointColor - index of the color in the series color palette
      Returns:
      this CategoryDataSeries
    • pointColor

      public CategoryDataSeriesInternal pointColor(Comparable category, String pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Parameters:
      category - data point
      pointColor - color
      Returns:
      this CategoryDataSeries
    • pointColor

      public <CATEGORY extends Comparable, COLOR extends io.deephaven.gui.color.Paint> AbstractCategoryDataSeries pointColor(Map<CATEGORY,COLOR> pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      COLOR - type of color for the points
      Parameters:
      pointColor - map from data points to their Paints
      Returns:
      this CategoryDataSeries
    • pointColorInteger

      public <CATEGORY extends Comparable, COLOR extends Integer> AbstractCategoryDataSeries pointColorInteger(Map<CATEGORY,COLOR> colors)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColorInteger in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      COLOR - type of color for the points
      Parameters:
      colors - map from data points to the index of the color palette
      Returns:
      this CategoryDataSeries
    • pointColor

      public AbstractCategoryDataSeries pointColor(io.deephaven.engine.table.Table t, String category, String pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Parameters:
      t - table
      category - column in t, specifying category values
      pointColor - column in t, specifying Paints or ints/Integers representing color palette values.
      Returns:
      this CategoryDataSeries
    • pointColor

      public AbstractCategoryDataSeries pointColor(SelectableDataSet sds, String category, String pointColor)
      Description copied from interface: CategoryDataSeries
      Sets the point color. Unspecified points use the default color.
      Specified by:
      pointColor in interface CategoryDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table)
      category - column in sds, specifying category values
      pointColor - column in sds, specifying Paints or ints/Integers representing color palette values.
      Returns:
      this CategoryDataSeries
    • pointLabel

      public AbstractCategoryDataSeries pointLabel(Object pointLabel)
      Description copied from interface: DataSeries
      Sets the point label for data point i from index i of the input labels. Points outside of these indices are unlabeled.
      Specified by:
      pointLabel in interface DataSeries
      Parameters:
      pointLabel - label
      Returns:
      this XYDataSeries
    • pointLabel

      public AbstractCategoryDataSeries pointLabel(Comparable category, Object pointLabel)
      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.
      Specified by:
      pointLabel in interface CategoryDataSeries
      Parameters:
      category - category value
      pointLabel - label
      Returns:
      this CategoryDataSeries
    • pointLabel

      public <CATEGORY extends Comparable, LABEL> AbstractCategoryDataSeries pointLabel(Map<CATEGORY,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.
      Specified by:
      pointLabel in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      LABEL - data type of the point labels
      Parameters:
      pointLabels - map used to determine point labels
      Returns:
      this CategoryDataSeries
    • pointLabel

      public AbstractCategoryDataSeries pointLabel(io.deephaven.engine.table.Table t, String category, String pointLabel)
      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.
      Specified by:
      pointLabel in interface CategoryDataSeries
      Parameters:
      t - table
      category - column in t, specifying category values
      pointLabel - column in t, specifying labels
      Returns:
      this CategoryDataSeries
    • pointLabelFormat

      public AbstractCategoryDataSeries pointLabelFormat(String pointLabelFormat)
      Description copied from interface: DataSeries
      Sets the point label format.

      Use {0} where the data series name should be inserted, {1} for the x-value and {2} y-value e.g. "{0}: ({1}, {2})" will display as Series1: (2.0, 5.5).

      Specified by:
      pointLabelFormat in interface DataSeries
      Parameters:
      pointLabelFormat - format
      Returns:
      this data series.
    • piePercentLabelFormat

      public AbstractCategoryDataSeries piePercentLabelFormat(String pieLabelFormat)
      Description copied from interface: CategoryDataSeries
      Sets the format of the percentage point label format in pie plots.
      Specified by:
      piePercentLabelFormat in interface CategoryDataSeries
      Parameters:
      pieLabelFormat - format
      Returns:
      this data series.
    • xToolTipPattern

      public AbstractCategoryDataSeries xToolTipPattern(String xToolTipPattern)
      Description copied from interface: DataSeries
      Sets the x-value tooltip format.
      Specified by:
      xToolTipPattern in interface DataSeries
      Parameters:
      xToolTipPattern - format
      Returns:
      this data series.
    • yToolTipPattern

      public AbstractCategoryDataSeries yToolTipPattern(String yToolTipPattern)
      Description copied from interface: DataSeries
      Sets the y-value tooltip format.
      Specified by:
      yToolTipPattern in interface DataSeries
      Parameters:
      yToolTipPattern - format
      Returns:
      this data series.
    • pointLabel

      public AbstractCategoryDataSeries pointLabel(SelectableDataSet sds, String category, String pointLabel)
      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.
      Specified by:
      pointLabel in interface CategoryDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table)
      category - column in sds, specifying category values
      pointLabel - column in sds, specifying labels
      Returns:
      this CategoryDataSeries
    • pointShape

      public AbstractCategoryDataSeries pointShape(String pointShape)
      Description copied from interface: DataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface DataSeries
      Parameters:
      pointShape - shape
      Returns:
      this DataSeries
    • pointShape

      public AbstractCategoryDataSeries pointShape(Shape pointShape)
      Description copied from interface: DataSeries
      Sets the point shapes for data point i from index i of the input labels. Points outside of these indices use default shapes.
      Specified by:
      pointShape in interface DataSeries
      Parameters:
      pointShape - shape
      Returns:
      this DataSeries
    • pointShape

      public CategoryDataSeries pointShape(Comparable category, String pointShape)
      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.
      Specified by:
      pointShape in interface CategoryDataSeries
      Parameters:
      category - category value
      pointShape - shape
      Returns:
      this CategoryDataSeries
    • pointShape

      public CategoryDataSeries pointShape(Comparable category, Shape pointShape)
      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.
      Specified by:
      pointShape in interface CategoryDataSeries
      Parameters:
      category - category value
      pointShape - shape
      Returns:
      this CategoryDataSeries
    • pointShape

      public <CATEGORY extends Comparable> CategoryDataSeries pointShape(Map<CATEGORY,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.
      Specified by:
      pointShape in interface CategoryDataSeries
      Type Parameters:
      CATEGORY - type of the categorical data
      Parameters:
      pointShapes - map used to determine point shapes
      Returns:
      this CategoryDataSeries
    • pointShape

      public CategoryDataSeries pointShape(io.deephaven.engine.table.Table t, String category, String pointShape)
      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.
      Specified by:
      pointShape in interface CategoryDataSeries
      Parameters:
      t - table
      category - column in t, specifying category values
      pointShape - column in t, specifying shapes
      Returns:
      this CategoryDataSeries
    • pointShape

      public CategoryDataSeries pointShape(SelectableDataSet sds, String category, String pointShape)
      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.
      Specified by:
      pointShape in interface CategoryDataSeries
      Parameters:
      sds - selectable data set (e.g. OneClick filterable table)
      category - column in sds, specifying category values
      pointShape - column in sds, specifying shapes
      Returns:
      this CategoryDataSeries
    • setPiePercentLabelFormat

      protected void setPiePercentLabelFormat(String format)
      Sets the pie percent label format for this dataset.
      Parameters:
      format - format
    • toolTipPattern

      public AbstractCategoryDataSeries toolTipPattern(String toolTipPattern)
      Description copied from interface: DataSeries
      Sets the tooltip format.
      Specified by:
      toolTipPattern in interface DataSeries
      Parameters:
      toolTipPattern - format
      Returns:
      this data series.