Interface MultiSeriesInternal<T extends DataSeriesInternal>
- All Superinterfaces:
MultiSeries
,PlotExceptionCause
,Serializable
,Series
,SeriesInternal
- All Known Implementing Classes:
AbstractMultiSeries
,AbstractPartitionedTableHandleMultiSeries
,AbstractSwappableMultiSeries
,MultiCatErrorBarSeries
,MultiCatErrorBarSeriesSwappable
,MultiCatSeries
,MultiCatSeriesSwappable
,MultiOHLCSeries
,MultiOHLCSeriesSwappable
,MultiXYErrorBarSeries
,MultiXYErrorBarSeriesSwappable
,MultiXYSeries
,MultiXYSeriesSwappable
public interface MultiSeriesInternal<T extends DataSeriesInternal>
extends MultiSeries, SeriesInternal, PlotExceptionCause
A parent data series that spawns a
DataSeries
for each unique key in the parent series.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the given series to this MultiSeriesvoid
applyTransform
(String columnName, String update, Class[] classesToImport, Map<String, Object> params, boolean columnTypesPreserved) Calls a .update() on the underlying table with the given formula: underlyingTable.update(columnName = update)axes()
Gets the axes on which this data will be plotted.chart()
Gets the chart on which this data will be plotted.Create a copy of the series on a different set of axes.createSeries
(String seriesName, BaseTable t) Creates a new series for this multi-series.createSeries
(String seriesName, BaseTable t, DynamicSeriesNamer dynamicSeriesNamer) Creates a new series for this multi-series.get
(int series) Gets the specified series from this multi-series.String[]
Gets the by columns for the multi-series.Gets a utility to make certain that all dynamic series have unique names.default PlotInfo
int
Gets the number of series in this multi-series.getX()
getY()
int
id()
Gets the id for the multi series.void
initializeSeries
(T series) Assigns series modifiers, e.g.name()
Gets the name of this data set.void
setDynamicSeriesNamer
(DynamicSeriesNamer seriesNamer) Methods inherited from interface io.deephaven.plot.datasets.multiseries.MultiSeries
errorBarColor, errorBarColor, errorBarColor, gradientVisible, group, lineColor, lineColor, lineColor, lineStyle, linesVisible, piePercentLabelFormat, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointColorInteger, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabelFormat, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, seriesNamingFunction, seriesNamingFunction, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Method Details
-
copy
Description copied from interface:SeriesInternal
Create a copy of the series on a different set of axes.- Specified by:
copy
in interfaceSeriesInternal
- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-
name
Comparable name()Gets the name of this data set.- Specified by:
name
in interfaceSeriesInternal
- Returns:
- name of this data set
-
chart
ChartImpl chart()Gets the chart on which this data will be plotted.- Returns:
- chart on which this data will be plotted
-
axes
AxesImpl axes()Gets the axes on which this data will be plotted.- Specified by:
axes
in interfaceSeriesInternal
- Returns:
- axes on which this data will be plotted
-
id
int id()Gets the id for the multi series.- Specified by:
id
in interfaceSeriesInternal
-
getByColumns
String[] getByColumns()Gets the by columns for the multi-series.- Returns:
- by columns for the multi-series.
-
getSeriesCount
int getSeriesCount()Gets the number of series in this multi-series.- Returns:
- number of series in this multi-series
-
get
Gets the specified series from this multi-series.- Parameters:
series
- series index- Returns:
- specified series
-
createSeries
Creates a new series for this multi-series.- Parameters:
seriesName
- name for the seriest
- client side source table- Returns:
- new series for this multi-series
-
createSeries
Creates a new series for this multi-series.- Parameters:
seriesName
- name for the seriest
- client side source tabledynamicSeriesNamer
- creates the name for the newly generated series. Ensures unique names.- Returns:
- new series for this multi-series
-
getDynamicSeriesNamer
DynamicSeriesNamer getDynamicSeriesNamer()Gets a utility to make certain that all dynamic series have unique names.- Returns:
- utility to make certain that all dynamic series have unique names.
-
setDynamicSeriesNamer
-
initializeSeries
Assigns series modifiers, e.g. point color, to the givenseries
- Parameters:
series
- series to initialize
-
getPartitionedTable
PartitionedTable getPartitionedTable()- Returns:
- the underlying
PartitionedTable
-
addSeries
Add the given series to this MultiSeries- Parameters:
series
- serieskey
- key used to determine the name of theseries
-
getPlotInfo
- Specified by:
getPlotInfo
in interfacePlotExceptionCause
-
applyTransform
void applyTransform(String columnName, String update, Class[] classesToImport, Map<String, Object> params, boolean columnTypesPreserved) Calls a .update() on the underlying table with the given formula: underlyingTable.update(columnName = update)- Parameters:
columnName
- the resulting columnupdate
- the formula insideclassesToImport
- classes to import into the query scopeparams
- parameters to add to the query scopecolumnTypesPreserved
- set to true if the update clause is 'add only' with respect to columns. This allows the copying of ACLs
-
getX
String getX()- Returns:
- the x-axis data column
-
getY
String getY()- Returns:
- the y-axis data column
-