Package io.deephaven.plot.datasets
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 Summary
ModifierConstructorDescriptionAbstractDataSeries
(AxesImpl axes, int id, Comparable name, AbstractDataSeries series) Creates an AbstractDataSeries instance.protected
AbstractDataSeries
(AbstractDataSeries series, AxesImpl axes) Creates a copy of a series using a different Axes. -
Method Summary
Modifier and TypeMethodDescriptionchart()
Gets the chart on which this data will be plotted.Gets the color of the error bars.boolean
Gets whether the bar gradient is visible.Gets the line color.Gets the line style.Gets whether lines are visible.Gets the point label format.Gets whether points are visible.Gets the tooltip format for x-values.Gets the tooltip format for y-values.protected void
setErrorBarColor
(int color) Sets the error bar color for this dataset.protected void
setErrorBarColor
(Paint color) Sets the error bar color for this dataset.protected void
setErrorBarColor
(String color) Sets the error bar color for this dataset.protected void
setGradientVisible
(boolean visible) Sets the bar-gradient visibility for this dataset.protected void
setLineColor
(int color) Sets the line color for this dataset.protected void
setLineColor
(Paint color) Sets the line color for this dataset.protected void
setLineColor
(String color) Sets the line color for this dataset.protected void
setLineStyle
(LineStyle style) Sets the line style for this dataset.protected void
setLinesVisible
(Boolean visible) Sets the line visibility for this dataset.protected void
setPointLabelFormat
(String format) Sets the point label format for this dataset.protected void
setPointsVisible
(Boolean visible) Sets the points visibility for this dataset.protected void
setXToolTipPattern
(String format) Sets the x-value tooltip format for this dataset.protected void
setYToolTipPattern
(String format) Sets the y-value tooltip format for this dataset.Methods inherited from class io.deephaven.plot.AbstractSeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, axes, getPartitionedTableHandles, getSwappableTables, getTableHandles, id, name, removeTableHandle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.plot.datasets.DataSeries
errorBarColor, errorBarColor, errorBarColor, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from interface io.deephaven.plot.datasets.DataSeriesInternal
axes, copy, getPlotInfo, getSeriesColor, id, name, size
Methods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Constructor Details
-
AbstractDataSeries
Creates an AbstractDataSeries instance.- Parameters:
axes
- axes on which this dataset will be plottedid
- data series idname
- series name
-
AbstractDataSeries
Creates a copy of a series using a different Axes.- Parameters:
series
- series to copy.axes
- new axes to use.
-
-
Method Details
-
chart
Description copied from interface:DataSeriesInternal
Gets the chart on which this data will be plotted.- Specified by:
chart
in interfaceDataSeriesInternal
- Returns:
- chart on which this data will be plotted
-
getLineColor
Description copied from interface:DataSeriesInternal
Gets the line color.- Specified by:
getLineColor
in interfaceDataSeriesInternal
- Returns:
- line color
-
getErrorBarColor
Description copied from interface:DataSeriesInternal
Gets the color of the error bars.- Specified by:
getErrorBarColor
in interfaceDataSeriesInternal
- Returns:
- error bar color
-
getLineStyle
Description copied from interface:DataSeriesInternal
Gets the line style.- Specified by:
getLineStyle
in interfaceDataSeriesInternal
- Returns:
- line style
-
getLinesVisible
Description copied from interface:DataSeriesInternal
Gets whether lines are visible.- Specified by:
getLinesVisible
in interfaceDataSeriesInternal
- Returns:
- whether lines are visible
-
getPointsVisible
Description copied from interface:DataSeriesInternal
Gets whether points are visible.- Specified by:
getPointsVisible
in interfaceDataSeriesInternal
- 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 interfaceDataSeriesInternal
- Returns:
- whether the bar gradient is visible
-
getPointLabelFormat
Description copied from interface:DataSeriesInternal
Gets the point label format.- Specified by:
getPointLabelFormat
in interfaceDataSeriesInternal
- Returns:
- point label format
-
getXToolTipPattern
Description copied from interface:DataSeriesInternal
Gets the tooltip format for x-values.- Specified by:
getXToolTipPattern
in interfaceDataSeriesInternal
- Returns:
- x-value tooltip format
-
getYToolTipPattern
Description copied from interface:DataSeriesInternal
Gets the tooltip format for y-values.- Specified by:
getYToolTipPattern
in interfaceDataSeriesInternal
- Returns:
- y-value tooltip format
-
setLinesVisible
Sets the line visibility for this dataset.- Parameters:
visible
- whether lines will be visible
-
setPointsVisible
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
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
Sets the line color for this dataset.- Parameters:
color
- color
-
setErrorBarColor
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
Sets the error bar color for this dataset.- Parameters:
color
- color
-
setLineStyle
Sets the line style for this dataset.- Parameters:
style
- style
-
setPointLabelFormat
Sets the point label format for this dataset.- Parameters:
format
- format
-
setXToolTipPattern
Sets the x-value tooltip format for this dataset.- Parameters:
format
- format
-
setYToolTipPattern
Sets the y-value tooltip format for this dataset.- Parameters:
format
- format
-