Class IntervalXYDataSeriesArray
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
io.deephaven.plot.datasets.xy.AbstractXYDataSeries
io.deephaven.plot.datasets.xy.XYDataSeriesArray
io.deephaven.plot.datasets.interval.IntervalXYDataSeriesArray
- All Implemented Interfaces:
DataSeries
,DataSeriesInternal
,IntervalXYDataSeries
,IntervalXYDataSeriesInternal
,XYDataSeries
,XYDataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,TableSnapshotSeries
,Serializable
public class IntervalXYDataSeriesArray
extends XYDataSeriesArray
implements IntervalXYDataSeriesInternal, TableSnapshotSeries
An
XYDataSeriesArray
suitable for bar charts.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIntervalXYDataSeriesArray
(AxesImpl axes, int id, Comparable name, @NotNull SwappableTable swappableTable, IndexableNumericData startX, IndexableNumericData midX, IndexableNumericData endX, IndexableNumericData startY, IndexableNumericData midY, IndexableNumericData endY) IntervalXYDataSeriesArray
(AxesImpl axes, int id, Comparable name, @NotNull TableHandle tableHandle, IndexableNumericData startX, IndexableNumericData midX, IndexableNumericData endX, IndexableNumericData startY, IndexableNumericData midY, IndexableNumericData endY) IntervalXYDataSeriesArray
(AxesImpl axes, int id, Comparable name, TableHandle tableHandle, SwappableTable swappableTable, IndexableNumericData startX, IndexableNumericData midX, IndexableNumericData endX, IndexableNumericData startY, IndexableNumericData midY, IndexableNumericData endY, XYDataSeriesArray series) Creates an instance of IntervalXYDataSeriesArray with the specified data points. -
Method Summary
Modifier and TypeMethodDescriptionCreate a copy of the series on a different set of axes.getEndX()
double
getEndX
(int item) Gets the right-most point of the bar.getEndY()
double
getEndY
(int item) Gets the top-most point of the bar.double
getStartX
(int item) Gets the left-most point of the bar.double
getStartY
(int item) Gets the bottom-most point of the bar.Methods inherited from class io.deephaven.plot.datasets.xy.XYDataSeriesArray
getX, getX, getY, getY, size
Methods inherited from class io.deephaven.plot.datasets.xy.AbstractXYDataSeries
colorsSetSpecific, errorBarColor, errorBarColor, errorBarColor, getPointColor, getPointColor, getPointLabel, getPointLabel, getPointShape, getPointShape, getPointSize, getPointSize, getSeriesColor, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabelFormat, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from class io.deephaven.plot.datasets.AbstractDataSeries
chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, setErrorBarColor, setErrorBarColor, setErrorBarColor, setGradientVisible, setLineColor, setLineColor, setLineColor, setLineStyle, setLinesVisible, setPointLabelFormat, setPointsVisible, setXToolTipPattern, setYToolTipPattern
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.DataSeries
errorBarColor, errorBarColor, errorBarColor, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from interface io.deephaven.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getSeriesColor, getXToolTipPattern, getYToolTipPattern, id, name, size
Methods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
Methods inherited from interface io.deephaven.plot.datasets.xy.XYDataSeries
pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize
Methods inherited from interface io.deephaven.plot.datasets.xy.XYDataSeriesInternal
drawXError, drawYError, getPointColor, getPointColor, getPointLabel, getPointLabel, getPointShape, getPointShape, getPointSize, getPointSize, getX, getY
-
Field Details
-
BIN_MIN
- See Also:
-
BIN_MID
- See Also:
-
BIN_MAX
- See Also:
-
COUNT
- See Also:
-
-
Constructor Details
-
IntervalXYDataSeriesArray
public IntervalXYDataSeriesArray(AxesImpl axes, int id, Comparable name, @NotNull @NotNull TableHandle tableHandle, IndexableNumericData startX, IndexableNumericData midX, IndexableNumericData endX, IndexableNumericData startY, IndexableNumericData midY, IndexableNumericData endY) -
IntervalXYDataSeriesArray
public IntervalXYDataSeriesArray(AxesImpl axes, int id, Comparable name, @NotNull @NotNull SwappableTable swappableTable, IndexableNumericData startX, IndexableNumericData midX, IndexableNumericData endX, IndexableNumericData startY, IndexableNumericData midY, IndexableNumericData endY) -
IntervalXYDataSeriesArray
public IntervalXYDataSeriesArray(AxesImpl axes, int id, Comparable name, TableHandle tableHandle, SwappableTable swappableTable, IndexableNumericData startX, IndexableNumericData midX, IndexableNumericData endX, IndexableNumericData startY, IndexableNumericData midY, IndexableNumericData endY, XYDataSeriesArray series) Creates an instance of IntervalXYDataSeriesArray with the specified data points.startX
,midX
, andendX
at each index define the location of a bar in the chart.- Parameters:
axes
- axes displaying the plotid
- data series idname
- series namestartX
- lowest x-coordinate of the bar at the given indexmidX
- middle x-coordinate of the bar at the given indexendX
- highest x-coordinate of the bar at the given indexstartY
- lowest y-coordinate of the bar at the given indexmidY
- middle y-coordinate of the bar at the given indexendY
- highest y-coordinate of the bar at the given index- Throws:
RequirementFailure
-startX
,midX
,endX
,startY
,midY
, andendY
must not be nullIllegalArgumentException
-startX
,midX
,endX
,startY
,midY
, andendY
must be the same size
-
-
Method Details
-
copy
Description copied from interface:SeriesInternal
Create a copy of the series on a different set of axes.- Specified by:
copy
in interfaceDataSeriesInternal
- Specified by:
copy
in interfaceIntervalXYDataSeriesInternal
- Specified by:
copy
in interfaceSeriesInternal
- Specified by:
copy
in interfaceXYDataSeriesInternal
- Overrides:
copy
in classXYDataSeriesArray
- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-
getStartX
public double getStartX(int item) Description copied from interface:IntervalXYDataSeriesInternal
Gets the left-most point of the bar.- Specified by:
getStartX
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getStartX
in interfaceXYDataSeriesInternal
- Parameters:
item
- index- Returns:
- left-most point of the bar
-
getEndX
public double getEndX(int item) Description copied from interface:IntervalXYDataSeriesInternal
Gets the right-most point of the bar.- Specified by:
getEndX
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getEndX
in interfaceXYDataSeriesInternal
- Parameters:
item
- index- Returns:
- right-most point of the bar
-
getStartY
public double getStartY(int item) Description copied from interface:IntervalXYDataSeriesInternal
Gets the bottom-most point of the bar.- Specified by:
getStartY
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getStartY
in interfaceXYDataSeriesInternal
- Parameters:
item
- index- Returns:
- bottom-most point of the bar
-
getEndY
public double getEndY(int item) Description copied from interface:IntervalXYDataSeriesInternal
Gets the top-most point of the bar.- Specified by:
getEndY
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getEndY
in interfaceXYDataSeriesInternal
- Parameters:
item
- index- Returns:
- top-most point of the bar
-
getStartX
-
getEndX
-
getStartY
-
getEndY
-