Class AbstractDataSeries

java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
All Implemented Interfaces:
DataSeries, DataSeriesInternal, PlotExceptionCause, Series, SeriesInternal, Serializable
Direct Known Subclasses:
AbstractCategoryDataSeries, AbstractXYDataSeries

public abstract class AbstractDataSeries extends AbstractSeriesInternal implements DataSeriesInternal, Serializable
Base class for DataSeriesInternal.
See Also:
  • Constructor Details

    • AbstractDataSeries

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

      protected AbstractDataSeries(AbstractDataSeries 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

    • chart

      public ChartImpl chart()
      Description copied from interface: DataSeriesInternal
      Gets the chart on which this data will be plotted.
      Specified by:
      chart in interface DataSeriesInternal
      Returns:
      chart on which this data will be plotted
    • getLineColor

      public Paint getLineColor()
      Description copied from interface: DataSeriesInternal
      Gets the line color.
      Specified by:
      getLineColor in interface DataSeriesInternal
      Returns:
      line color
    • getErrorBarColor

      public Paint getErrorBarColor()
      Description copied from interface: DataSeriesInternal
      Gets the color of the error bars.
      Specified by:
      getErrorBarColor in interface DataSeriesInternal
      Returns:
      error bar color
    • getLineStyle

      public LineStyle getLineStyle()
      Description copied from interface: DataSeriesInternal
      Gets the line style.
      Specified by:
      getLineStyle in interface DataSeriesInternal
      Returns:
      line style
    • getLinesVisible

      public Boolean getLinesVisible()
      Description copied from interface: DataSeriesInternal
      Gets whether lines are visible.
      Specified by:
      getLinesVisible in interface DataSeriesInternal
      Returns:
      whether lines are visible
    • getPointsVisible

      public Boolean getPointsVisible()
      Description copied from interface: DataSeriesInternal
      Gets whether points are visible.
      Specified by:
      getPointsVisible in interface DataSeriesInternal
      Returns:
      whether points are visible
    • getGradientVisible

      public boolean getGradientVisible()
      Description copied from interface: DataSeriesInternal
      Gets whether the bar gradient is visible.
      Specified by:
      getGradientVisible in interface DataSeriesInternal
      Returns:
      whether the bar gradient is visible
    • getPointLabelFormat

      public String getPointLabelFormat()
      Description copied from interface: DataSeriesInternal
      Gets the point label format.
      Specified by:
      getPointLabelFormat in interface DataSeriesInternal
      Returns:
      point label format
    • getXToolTipPattern

      public String getXToolTipPattern()
      Description copied from interface: DataSeriesInternal
      Gets the tooltip format for x-values.
      Specified by:
      getXToolTipPattern in interface DataSeriesInternal
      Returns:
      x-value tooltip format
    • getYToolTipPattern

      public String getYToolTipPattern()
      Description copied from interface: DataSeriesInternal
      Gets the tooltip format for y-values.
      Specified by:
      getYToolTipPattern in interface DataSeriesInternal
      Returns:
      y-value tooltip format
    • setLinesVisible

      protected void setLinesVisible(Boolean visible)
      Sets the line visibility for this dataset.
      Parameters:
      visible - whether lines will be visible
    • setPointsVisible

      protected void setPointsVisible(Boolean visible)
      Sets the points visibility for this dataset.
      Parameters:
      visible - whether points will be visible
    • setGradientVisible

      protected void setGradientVisible(boolean visible)
      Sets the bar-gradient visibility for this dataset.
      Parameters:
      visible - whether the bar-gradient will be visible
    • setLineColor

      protected void setLineColor(Paint color)
      Sets the line color for this dataset.
      Parameters:
      color - color
    • setLineColor

      protected void setLineColor(int color)
      Sets the line color for this dataset.
      Parameters:
      color - color
    • setLineColor

      protected void setLineColor(String color)
      Sets the line color for this dataset.
      Parameters:
      color - color
    • setErrorBarColor

      protected void setErrorBarColor(Paint color)
      Sets the error bar color for this dataset.
      Parameters:
      color - color
    • setErrorBarColor

      protected void setErrorBarColor(int color)
      Sets the error bar color for this dataset.
      Parameters:
      color - color
    • setErrorBarColor

      protected void setErrorBarColor(String color)
      Sets the error bar color for this dataset.
      Parameters:
      color - color
    • setLineStyle

      protected void setLineStyle(LineStyle style)
      Sets the line style for this dataset.
      Parameters:
      style - style
    • setPointLabelFormat

      protected void setPointLabelFormat(String format)
      Sets the point label format for this dataset.
      Parameters:
      format - format
    • setXToolTipPattern

      protected void setXToolTipPattern(String format)
      Sets the x-value tooltip format for this dataset.
      Parameters:
      format - format
    • setYToolTipPattern

      protected void setYToolTipPattern(String format)
      Sets the y-value tooltip format for this dataset.
      Parameters:
      format - format