Class MultiOHLCSeries
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.multiseries.AbstractMultiSeries<SERIES>
io.deephaven.plot.datasets.multiseries.AbstractPartitionedTableHandleMultiSeries<OHLCDataSeriesInternal>
io.deephaven.plot.datasets.multiseries.MultiOHLCSeries
- All Implemented Interfaces:
MultiSeries
,MultiSeriesInternal<OHLCDataSeriesInternal>
,PlotExceptionCause
,Series
,SeriesInternal
,TableSnapshotSeries
,Serializable
public class MultiOHLCSeries
extends AbstractPartitionedTableHandleMultiSeries<OHLCDataSeriesInternal>
A
AbstractMultiSeries
collection that holds and generates OHLCDataSeriesInternal
.- See Also:
-
Field Summary
Fields inherited from class io.deephaven.plot.datasets.multiseries.AbstractMultiSeries
byColumns, EMPTY_PARTITIONED_TABLE, initialized, partitionedTable, partitionedTableLock
-
Constructor Summary
ConstructorDescriptionMultiOHLCSeries
(AxesImpl axes, int id, Comparable name, TableBackedPartitionedTableHandle partitionedTableHandle, String timeCol, String openCol, String highCol, String lowCol, String closeCol, String[] byColumns) /** Creates a MultiOHLCSeries 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>
MultiOHLCSeriespointColor
(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>
MultiOHLCSeriesPlotUtils.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.AbstractPartitionedTableHandleMultiSeries
applyTransform, getPartitionedTable, getPartitionedTableHandle, getX, getY
Methods inherited from class io.deephaven.plot.datasets.multiseries.AbstractMultiSeries
addSeries, applyFunction, 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, 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.multiseries.MultiSeriesInternal
axes, getPlotInfo, id, name
Methods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Constructor Details
-
MultiOHLCSeries
public MultiOHLCSeries(AxesImpl axes, int id, Comparable name, TableBackedPartitionedTableHandle partitionedTableHandle, String timeCol, String openCol, String highCol, String lowCol, String closeCol, String[] byColumns) /** Creates a MultiOHLCSeries instance.- Parameters:
axes
- axes on which thisMultiSeries
will be plottedid
- data series idname
- series namepartitionedTableHandle
- table datatimeCol
- column int
that holds the time dataopenCol
- column int
that holds the open datahighCol
- column int
that holds the high datalowCol
- column int
that holds the low datacloseCol
- column int
that holds the close databyColumns
- column(s) int
that holds the grouping data
-
-
Method Details
-
createSeries
public OHLCDataSeriesInternal 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
-
getTimeCol
-
getOpenCol
-
getHighCol
-
getLowCol
-
getCloseCol
-
initializeSeries
Description copied from interface:MultiSeriesInternal
Assigns series modifiers, e.g. point color, to the givenseries
- Specified by:
initializeSeries
in interfaceMultiSeriesInternal<OHLCDataSeriesInternal>
- Overrides:
initializeSeries
in classAbstractMultiSeries<OHLCDataSeriesInternal>
- Parameters:
series
- series to initialize
-
errorBarColorSeriesNameToStringMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
errorBarColorSeriesNameTointMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
errorBarColorSeriesNameToPaintMap
-
errorBarColor
- Specified by:
errorBarColor
in interfaceMultiSeries
- Overrides:
errorBarColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
gradientVisibleSeriesNameTobooleanMap
-
gradientVisible
- Specified by:
gradientVisible
in interfaceMultiSeries
- Overrides:
gradientVisible
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
lineColorSeriesNameToStringMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
lineColorSeriesNameTointMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
lineColorSeriesNameToPaintMap
-
lineColor
- Specified by:
lineColor
in interfaceMultiSeries
- Overrides:
lineColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
lineStyleSeriesNameToLineStyleMap
-
lineStyle
- Specified by:
lineStyle
in interfaceMultiSeries
- Overrides:
lineStyle
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
linesVisibleSeriesNameToBooleanMap
-
linesVisible
- Specified by:
linesVisible
in interfaceMultiSeries
- Overrides:
linesVisible
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameTointArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToPaintArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToIntegerArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToStringArrayMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToStringMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameTointMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToPaintMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToIndexableDataMap
-
pointColor
public <T extends Paint> MultiOHLCSeries pointColor(IndexableData<T> pointColor, Object... multiSeriesKey) - Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToTableStringMap
-
pointColor
- Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointColorSeriesNameToSelectableDataSetStringMap() -
pointColor
public MultiOHLCSeries pointColor(SelectableDataSet sds, String pointColors, Object... multiSeriesKey) - Specified by:
pointColor
in interfaceMultiSeries
- Overrides:
pointColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointColorIntegerSeriesNameToIndexableDataMap
public PlotUtils.HashMapWithDefault<String,IndexableData> pointColorIntegerSeriesNameToIndexableDataMap() -
pointColorInteger
- Specified by:
pointColorInteger
in interfaceMultiSeries
- Overrides:
pointColorInteger
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointLabelSeriesNameToObjectArrayMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointLabelSeriesNameToObjectMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointLabelSeriesNameToIndexableDataMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointLabelSeriesNameToTableStringMap
-
pointLabel
- Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointLabelSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointLabelSeriesNameToSelectableDataSetStringMap() -
pointLabel
public MultiOHLCSeries pointLabel(SelectableDataSet sds, String pointLabel, Object... multiSeriesKey) - Specified by:
pointLabel
in interfaceMultiSeries
- Overrides:
pointLabel
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointLabelFormatSeriesNameToStringMap
-
pointLabelFormat
- Specified by:
pointLabelFormat
in interfaceMultiSeries
- Overrides:
pointLabelFormat
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointShapeSeriesNameToShapeArrayMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointShapeSeriesNameToStringArrayMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointShapeSeriesNameToStringMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointShapeSeriesNameToShapeMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointShapeSeriesNameToIndexableDataMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointShapeSeriesNameToTableStringMap
-
pointShape
- Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointShapeSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointShapeSeriesNameToSelectableDataSetStringMap() -
pointShape
public MultiOHLCSeries pointShape(SelectableDataSet sds, String pointShape, Object... multiSeriesKey) - Specified by:
pointShape
in interfaceMultiSeries
- Overrides:
pointShape
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameToTArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameTodoubleArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameTointArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameTolongArrayMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameToNumberMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameToIndexableDataMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameToTableStringMap
-
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointSizeSeriesNameToSelectableDataSetStringMap
public PlotUtils.HashMapWithDefault<String,Object[]> pointSizeSeriesNameToSelectableDataSetStringMap() -
pointSize
- Specified by:
pointSize
in interfaceMultiSeries
- Overrides:
pointSize
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
pointsVisibleSeriesNameToBooleanMap
-
pointsVisible
- Specified by:
pointsVisible
in interfaceMultiSeries
- Overrides:
pointsVisible
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
seriesColorSeriesNameToStringMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
seriesColorSeriesNameTointMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
seriesColorSeriesNameToPaintMap
-
seriesColor
- Specified by:
seriesColor
in interfaceMultiSeries
- Overrides:
seriesColor
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
toolTipPatternSeriesNameToStringMap
-
toolTipPattern
- Specified by:
toolTipPattern
in interfaceMultiSeries
- Overrides:
toolTipPattern
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
xToolTipPatternSeriesNameToStringMap
-
xToolTipPattern
- Specified by:
xToolTipPattern
in interfaceMultiSeries
- Overrides:
xToolTipPattern
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
yToolTipPatternSeriesNameToStringMap
-
yToolTipPattern
- Specified by:
yToolTipPattern
in interfaceMultiSeries
- Overrides:
yToolTipPattern
in classAbstractMultiSeries<OHLCDataSeriesInternal>
-
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.
-