Class MultiXYErrorBarSeriesSwappable
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.multiseries.AbstractMultiSeries<SERIES>
io.deephaven.plot.datasets.multiseries.AbstractSwappableMultiSeries<XYErrorBarDataSeriesInternal>
io.deephaven.plot.datasets.multiseries.MultiXYErrorBarSeriesSwappable
- All Implemented Interfaces:
MultiSeries
,MultiSeriesInternal<XYErrorBarDataSeriesInternal>
,PlotExceptionCause
,Series
,SeriesInternal
,TableSnapshotSeries
,Serializable
public class MultiXYErrorBarSeriesSwappable
extends AbstractSwappableMultiSeries<XYErrorBarDataSeriesInternal>
XY MultiSeries suitable for error bar plots.
- See Also:
-
Field Summary
Fields inherited from class io.deephaven.plot.datasets.multiseries.AbstractMultiSeries
byColumns, EMPTY_PARTITIONED_TABLE, initialized, partitionedTable, partitionedTableLock
-
Constructor Summary
ConstructorDescriptionMultiXYErrorBarSeriesSwappable
(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String x, String xLow, String xHigh, String y, String yLow, String yHigh, String[] byColumns, boolean drawXError, boolean drawYError) Creates a MultiXYSeries 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
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>
MultiXYErrorBarSeriesSwappablepointColor
(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>
MultiXYErrorBarSeriesSwappablePlotUtils.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
-
MultiXYErrorBarSeriesSwappable
public MultiXYErrorBarSeriesSwappable(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String x, String xLow, String xHigh, String y, String yLow, String yHigh, String[] byColumns, boolean drawXError, boolean drawYError) Creates a MultiXYSeries instance.- Parameters:
axes
- axes on which this multiseries will be plottedid
- data series idname
- series nameswappableTable
- table datax
- column int
that holds the x-variable datayLow
- column int
that holds the y-variable databyColumns
- column(s) int
that holds the grouping data
-
-
Method Details
-
createSeries
public XYErrorBarDataSeriesInternal 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<XYErrorBarDataSeriesInternal>
- Overrides:
initializeSeries
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
- Parameters:
series
- series to initialize
-
errorBarColorSeriesNameToStringMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
errorBarColorSeriesNameTointMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
errorBarColorSeriesNameToPaintMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
gradientVisibleSeriesNameTobooleanMap
-
gradientVisible
public MultiXYErrorBarSeriesSwappable gradientVisible(boolean gradientVisible, Object... multiSeriesKey) - Specified by:
gradientVisible
in interfaceMultiSeries
- Overrides:
gradientVisible
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
lineColorSeriesNameToStringMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
lineColorSeriesNameTointMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
lineColorSeriesNameToPaintMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
lineStyleSeriesNameToLineStyleMap
-
lineStyle
- Specified by:
lineStyle
in interfaceMultiSeries
- Overrides:
lineStyle
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
linesVisibleSeriesNameToBooleanMap
-
linesVisible
- Specified by:
linesVisible
in interfaceMultiSeries
- Overrides:
linesVisible
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameTointArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToPaintArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToIntegerArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToStringArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToStringMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameTointMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToPaintMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToIndexableDataMap
-
pointColor
public <T extends Paint> MultiXYErrorBarSeriesSwappable pointColor(IndexableData<T> pointColor, Object... multiSeriesKey) - Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToTableStringMap
-
pointColor
public MultiXYErrorBarSeriesSwappable pointColor(Table t, String pointColors, Object... multiSeriesKey) - Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointColorSeriesNameToSelectableDataSetStringMap() -
pointColor
public MultiXYErrorBarSeriesSwappable pointColor(SelectableDataSet sds, String pointColors, Object... multiSeriesKey) - Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointColorIntegerSeriesNameToIndexableDataMap
public PlotUtils.HashMapWithDefault<String,IndexableData> pointColorIntegerSeriesNameToIndexableDataMap() -
pointColorInteger
public MultiXYErrorBarSeriesSwappable pointColorInteger(IndexableData<Integer> colors, Object... multiSeriesKey) - Specified by:
pointColorInteger
in interfaceMultiSeries
- Overrides:
pointColorInteger
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointLabelSeriesNameToObjectArrayMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointLabelSeriesNameToObjectMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointLabelSeriesNameToIndexableDataMap
-
pointLabel
public MultiXYErrorBarSeriesSwappable pointLabel(IndexableData<?> pointLabels, Object... multiSeriesKey) - Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointLabelSeriesNameToTableStringMap
-
pointLabel
public MultiXYErrorBarSeriesSwappable pointLabel(Table t, String pointLabel, Object... multiSeriesKey) - Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointLabelSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointLabelSeriesNameToSelectableDataSetStringMap() -
pointLabel
public MultiXYErrorBarSeriesSwappable pointLabel(SelectableDataSet sds, String pointLabel, Object... multiSeriesKey) - Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointLabelFormatSeriesNameToStringMap
-
pointLabelFormat
public MultiXYErrorBarSeriesSwappable pointLabelFormat(String pointLabelFormat, Object... multiSeriesKey) - Specified by:
pointLabelFormat
in interfaceMultiSeries
- Overrides:
pointLabelFormat
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointShapeSeriesNameToShapeArrayMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointShapeSeriesNameToStringArrayMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointShapeSeriesNameToStringMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointShapeSeriesNameToShapeMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointShapeSeriesNameToIndexableDataMap
-
pointShape
public MultiXYErrorBarSeriesSwappable pointShape(IndexableData<String> pointShapes, Object... multiSeriesKey) - Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointShapeSeriesNameToTableStringMap
-
pointShape
public MultiXYErrorBarSeriesSwappable pointShape(Table t, String pointShape, Object... multiSeriesKey) - Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointShapeSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointShapeSeriesNameToSelectableDataSetStringMap() -
pointShape
public MultiXYErrorBarSeriesSwappable pointShape(SelectableDataSet sds, String pointShape, Object... multiSeriesKey) - Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameToTArrayMap
-
pointSize
public <T extends Number> MultiXYErrorBarSeriesSwappable pointSize(T[] pointSizes, Object... multiSeriesKey) - Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameTodoubleArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameTointArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameTolongArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameToNumberMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameToIndexableDataMap
-
pointSize
public MultiXYErrorBarSeriesSwappable pointSize(IndexableData<Double> pointSizes, Object... multiSeriesKey) - Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameToTableStringMap
-
pointSize
public MultiXYErrorBarSeriesSwappable pointSize(Table t, String pointSizes, Object... multiSeriesKey) - Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointSizeSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointSizeSeriesNameToSelectableDataSetStringMap() -
pointSize
public MultiXYErrorBarSeriesSwappable pointSize(SelectableDataSet sds, String pointSize, Object... multiSeriesKey) - Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
pointsVisibleSeriesNameToBooleanMap
-
pointsVisible
- Specified by:
pointsVisible
in interfaceMultiSeries
- Overrides:
pointsVisible
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
seriesColorSeriesNameToStringMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
seriesColorSeriesNameTointMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
seriesColorSeriesNameToPaintMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
toolTipPatternSeriesNameToStringMap
-
toolTipPattern
public MultiXYErrorBarSeriesSwappable toolTipPattern(String toolTipPattern, Object... multiSeriesKey) - Specified by:
toolTipPattern
in interfaceMultiSeries
- Overrides:
toolTipPattern
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
xToolTipPatternSeriesNameToStringMap
-
xToolTipPattern
public MultiXYErrorBarSeriesSwappable xToolTipPattern(String xToolTipPattern, Object... multiSeriesKey) - Specified by:
xToolTipPattern
in interfaceMultiSeries
- Overrides:
xToolTipPattern
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
yToolTipPatternSeriesNameToStringMap
-
yToolTipPattern
public MultiXYErrorBarSeriesSwappable yToolTipPattern(String yToolTipPattern, Object... multiSeriesKey) - Specified by:
yToolTipPattern
in interfaceMultiSeries
- Overrides:
yToolTipPattern
in classAbstractMultiSeries<XYErrorBarDataSeriesInternal>
-
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.
-