Package io.deephaven.plot
Class SeriesCollection
java.lang.Object
io.deephaven.plot.SeriesCollection
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
A collection of data series.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Description of a data series.static enum
Type of data series. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(SeriesCollection.SeriesType type, boolean isMultiSeries, SeriesInternal series) Add a new Series.Creates a copy of this series collection on a new set of axes.Gets the descriptions of the series in the collection.void
remove
(Comparable... names) Removes the series with the specifiednames
.series
(int id) Gets the series with the given series ID.series
(Comparable name) Gets the series with the given series name.
-
Constructor Details
-
SeriesCollection
-
-
Method Details
-
getPlotInfo
- Specified by:
getPlotInfo
in interfacePlotExceptionCause
-
copy
Creates a copy of this series collection on a new set of axes.- Parameters:
axes
- axes to create a copy of this series on.- Returns:
- copy of the series collection on the new set of axes.
-
getSeriesDescriptions
Gets the descriptions of the series in the collection. The result is a map between series name and description.- Returns:
- descriptions of the series in the collection
-
series
Gets the series with the given series ID.- Parameters:
id
- series id- Returns:
- series
-
series
Gets the series with the given series name.- Parameters:
name
- series name- Returns:
- series
-
getSwappableTables
-
add
Add a new Series.- Parameters:
type
- type of seriesisMultiSeries
- true for multi-series; false for standard mono-series.series
- series
-
remove
Removes the series with the specifiednames
.- Parameters:
names
- series names
-