Class MultiXYSeriesSwappable
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.multiseries.AbstractMultiSeries<SERIES>
io.deephaven.plot.datasets.multiseries.AbstractSwappableMultiSeries<XYDataSeriesInternal>
io.deephaven.plot.datasets.multiseries.MultiXYSeriesSwappable
- All Implemented Interfaces:
MultiSeries
,MultiSeriesInternal<XYDataSeriesInternal>
,PlotExceptionCause
,Series
,SeriesInternal
,TableSnapshotSeries
,Serializable
A
AbstractMultiSeries
collection that holds and generates XYDataSeriesInternal
.- See Also:
-
Field Summary
Fields inherited from class io.deephaven.plot.datasets.multiseries.AbstractMultiSeries
byColumns, EMPTY_PARTITIONED_TABLE, initialized, partitionedTable, partitionedTableLock
-
Constructor Summary
ConstructorDescriptionMultiXYSeriesSwappable
(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String xCol, String yCol, String[] byColumns) Creates a MultiXYSeriesSwappable instance. -
Method Summary
Modifier and TypeMethodDescriptionCreate a copy of the series on a different set of axes.createSeries
(String seriesName, BaseTable t, DynamicSeriesNamer seriesNamer) Creates a new series for this multi-series.errorBarColor
(int errorBarColor, Object... multiSeriesKey) errorBarColor
(Paint errorBarColor, Object... multiSeriesKey) errorBarColor
(String errorBarColor, Object... multiSeriesKey) gradientVisible
(boolean gradientVisible, Object... multiSeriesKey) void
initializeSeries
(XYDataSeriesInternal series) Assigns series modifiers, e.g.linesVisible
(Boolean visible, Object... multiSeriesKey) pointColor
(int[] pointColors, Object... multiSeriesKey) pointColor
(int pointColor, Object... multiSeriesKey) pointColor
(Table t, String pointColors, Object... multiSeriesKey) pointColor
(Paint[] pointColor, Object... multiSeriesKey) pointColor
(Paint pointColor, Object... multiSeriesKey) <T extends Paint>
MultiXYSeriesSwappablepointColor
(IndexableData<T> pointColor, Object... multiSeriesKey) pointColor
(SelectableDataSet sds, String pointColors, Object... multiSeriesKey) pointColor
(Integer[] pointColors, Object... multiSeriesKey) pointColor
(String[] pointColors, Object... multiSeriesKey) pointColor
(String pointColor, Object... multiSeriesKey) pointColorInteger
(IndexableData<Integer> colors, Object... multiSeriesKey) pointLabel
(Table t, String pointLabel, Object... multiSeriesKey) pointLabel
(IndexableData<?> pointLabels, Object... multiSeriesKey) pointLabel
(SelectableDataSet sds, String pointLabel, Object... multiSeriesKey) pointLabel
(Object[] pointLabels, Object... multiSeriesKey) pointLabel
(Object pointLabel, Object... multiSeriesKey) pointLabelFormat
(String pointLabelFormat, Object... multiSeriesKey) pointShape
(Table t, String pointShape, Object... multiSeriesKey) pointShape
(Shape[] pointShapes, Object... multiSeriesKey) pointShape
(Shape pointShape, Object... multiSeriesKey) pointShape
(IndexableData<String> pointShapes, Object... multiSeriesKey) pointShape
(SelectableDataSet sds, String pointShape, Object... multiSeriesKey) pointShape
(String[] pointShapes, Object... multiSeriesKey) pointShape
(String pointShape, Object... multiSeriesKey) pointSize
(IndexableData<Double> pointSizes, Object... multiSeriesKey) pointSize
(SelectableDataSet sds, String pointSize, Object... multiSeriesKey) <T extends Number>
MultiXYSeriesSwappablePlotUtils.HashMapWithDefault<String,
double[]> PlotUtils.HashMapWithDefault<String,
long[]> pointsVisible
(Boolean visible, Object... multiSeriesKey) seriesColor
(int color, Object... multiSeriesKey) seriesColor
(Paint color, Object... multiSeriesKey) seriesColor
(String color, Object... multiSeriesKey) toolTipPattern
(String toolTipPattern, Object... multiSeriesKey) xToolTipPattern
(String xToolTipPattern, Object... multiSeriesKey) yToolTipPattern
(String yToolTipPattern, Object... multiSeriesKey) Methods inherited from class io.deephaven.plot.datasets.multiseries.AbstractSwappableMultiSeries
addTableHandle, applyFunction, applyTransform, getPartitionedTable, getSwappableTable, getX, getY
Methods inherited from class io.deephaven.plot.datasets.multiseries.AbstractMultiSeries
addSeries, applyNamingFunction, chart, createSeries, get, getByColumns, getDynamicSeriesNamer, getSeriesCount, group, piePercentLabelFormat, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, seriesNamingFunction, seriesNamingFunction, setDynamicSeriesNamer
Methods inherited from class io.deephaven.plot.AbstractSeriesInternal
addPartitionedTableHandle, addSwappableTable, 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.multiseries.MultiSeriesInternal
axes, getPlotInfo, id, name
Methods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Constructor Details
-
MultiXYSeriesSwappable
public MultiXYSeriesSwappable(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String xCol, String yCol, String[] byColumns) Creates a MultiXYSeriesSwappable instance.- Parameters:
axes
- axes on which thisMultiSeries
will be plottedid
- data series idname
- series nameswappableTable
- swappable tablexCol
- column int
that holds the x-variable datayCol
- column int
that holds the y-variable databyColumns
- column(s) int
that holds the grouping data
-
-
Method Details
-
createSeries
public XYDataSeriesInternal createSeries(String seriesName, BaseTable t, DynamicSeriesNamer seriesNamer) Description copied from interface:MultiSeriesInternal
Creates a new series for this multi-series.- Parameters:
seriesName
- name for the seriest
- client side source tableseriesNamer
- creates the name for the newly generated series. Ensures unique names.- Returns:
- new series for this multi-series
-
initializeSeries
Description copied from interface:MultiSeriesInternal
Assigns series modifiers, e.g. point color, to the givenseries
- Specified by:
initializeSeries
in interfaceMultiSeriesInternal<XYDataSeriesInternal>
- Overrides:
initializeSeries
in classAbstractMultiSeries<XYDataSeriesInternal>
- Parameters:
series
- series to initialize
-
errorBarColorSeriesNameToStringMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
errorBarColorSeriesNameTointMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
errorBarColorSeriesNameToPaintMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
gradientVisibleSeriesNameTobooleanMap
-
gradientVisible
- Specified by:
gradientVisible
in interfaceMultiSeries
- Overrides:
gradientVisible
in classAbstractMultiSeries<XYDataSeriesInternal>
-
lineColorSeriesNameToStringMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
lineColorSeriesNameTointMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
lineColorSeriesNameToPaintMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
lineStyleSeriesNameToLineStyleMap
-
lineStyle
- Specified by:
lineStyle
in interfaceMultiSeries
- Overrides:
lineStyle
in classAbstractMultiSeries<XYDataSeriesInternal>
-
linesVisibleSeriesNameToBooleanMap
-
linesVisible
- Specified by:
linesVisible
in interfaceMultiSeries
- Overrides:
linesVisible
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameTointArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToPaintArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToIntegerArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToStringArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToStringMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameTointMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToPaintMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToIndexableDataMap
-
pointColor
public <T extends Paint> MultiXYSeriesSwappable pointColor(IndexableData<T> pointColor, Object... multiSeriesKey) - Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToTableStringMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointColorSeriesNameToSelectableDataSetStringMap() -
pointColor
public MultiXYSeriesSwappable pointColor(SelectableDataSet sds, String pointColors, Object... multiSeriesKey) - Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointColorIntegerSeriesNameToIndexableDataMap
public PlotUtils.HashMapWithDefault<String,IndexableData> pointColorIntegerSeriesNameToIndexableDataMap() -
pointColorInteger
public MultiXYSeriesSwappable pointColorInteger(IndexableData<Integer> colors, Object... multiSeriesKey) - Specified by:
pointColorInteger
in interfaceMultiSeries
- Overrides:
pointColorInteger
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointLabelSeriesNameToObjectArrayMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointLabelSeriesNameToObjectMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointLabelSeriesNameToIndexableDataMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointLabelSeriesNameToTableStringMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointLabelSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointLabelSeriesNameToSelectableDataSetStringMap() -
pointLabel
public MultiXYSeriesSwappable pointLabel(SelectableDataSet sds, String pointLabel, Object... multiSeriesKey) - Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointLabelFormatSeriesNameToStringMap
-
pointLabelFormat
- Specified by:
pointLabelFormat
in interfaceMultiSeries
- Overrides:
pointLabelFormat
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointShapeSeriesNameToShapeArrayMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointShapeSeriesNameToStringArrayMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointShapeSeriesNameToStringMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointShapeSeriesNameToShapeMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointShapeSeriesNameToIndexableDataMap
-
pointShape
public MultiXYSeriesSwappable pointShape(IndexableData<String> pointShapes, Object... multiSeriesKey) - Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointShapeSeriesNameToTableStringMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointShapeSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointShapeSeriesNameToSelectableDataSetStringMap() -
pointShape
public MultiXYSeriesSwappable pointShape(SelectableDataSet sds, String pointShape, Object... multiSeriesKey) - Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameToTArrayMap
-
pointSize
public <T extends Number> MultiXYSeriesSwappable pointSize(T[] pointSizes, Object... multiSeriesKey) - Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameTodoubleArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameTointArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameTolongArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameToNumberMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameToIndexableDataMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameToTableStringMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointSizeSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointSizeSeriesNameToSelectableDataSetStringMap() -
pointSize
public MultiXYSeriesSwappable pointSize(SelectableDataSet sds, String pointSize, Object... multiSeriesKey) - Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYDataSeriesInternal>
-
pointsVisibleSeriesNameToBooleanMap
-
pointsVisible
- Specified by:
pointsVisible
in interfaceMultiSeries
- Overrides:
pointsVisible
in classAbstractMultiSeries<XYDataSeriesInternal>
-
seriesColorSeriesNameToStringMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
seriesColorSeriesNameTointMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
seriesColorSeriesNameToPaintMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<XYDataSeriesInternal>
-
toolTipPatternSeriesNameToStringMap
-
toolTipPattern
- Specified by:
toolTipPattern
in interfaceMultiSeries
- Overrides:
toolTipPattern
in classAbstractMultiSeries<XYDataSeriesInternal>
-
xToolTipPatternSeriesNameToStringMap
-
xToolTipPattern
- Specified by:
xToolTipPattern
in interfaceMultiSeries
- Overrides:
xToolTipPattern
in classAbstractMultiSeries<XYDataSeriesInternal>
-
yToolTipPatternSeriesNameToStringMap
-
yToolTipPattern
- Specified by:
yToolTipPattern
in interfaceMultiSeries
- Overrides:
yToolTipPattern
in classAbstractMultiSeries<XYDataSeriesInternal>
-
copy
Description copied from interface:SeriesInternal
Create a copy of the series on a different set of axes.- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-