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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntervalXYDataSeriesArray(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()doublegetEndX(int item) Gets the right-most point of the bar.getEndY()doublegetEndY(int item) Gets the top-most point of the bar.doublegetStartX(int item) Gets the left-most point of the bar.doublegetStartY(int item) Gets the bottom-most point of the bar.Methods inherited from class io.deephaven.plot.datasets.xy.XYDataSeriesArray
getX, getX, getY, getY, sizeMethods 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, yToolTipPatternMethods 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, setYToolTipPatternMethods inherited from class io.deephaven.plot.AbstractSeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, axes, getPartitionedTableHandles, getSwappableTables, getTableHandles, id, name, removeTableHandleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, yToolTipPatternMethods inherited from interface io.deephaven.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getSeriesColor, getXToolTipPattern, getYToolTipPattern, id, name, sizeMethods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandleMethods 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, pointSizeMethods 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, andendXat 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, andendYmust not be nullIllegalArgumentException-startX,midX,endX,startY,midY, andendYmust be the same size
-
-
Method Details
-
copy
Description copied from interface:SeriesInternalCreate a copy of the series on a different set of axes.- Specified by:
copyin interfaceDataSeriesInternal- Specified by:
copyin interfaceIntervalXYDataSeriesInternal- Specified by:
copyin interfaceSeriesInternal- Specified by:
copyin interfaceXYDataSeriesInternal- Overrides:
copyin 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:IntervalXYDataSeriesInternalGets the left-most point of the bar.- Specified by:
getStartXin interfaceIntervalXYDataSeriesInternal- Specified by:
getStartXin interfaceXYDataSeriesInternal- Parameters:
item- index- Returns:
- left-most point of the bar
-
getEndX
public double getEndX(int item) Description copied from interface:IntervalXYDataSeriesInternalGets the right-most point of the bar.- Specified by:
getEndXin interfaceIntervalXYDataSeriesInternal- Specified by:
getEndXin interfaceXYDataSeriesInternal- Parameters:
item- index- Returns:
- right-most point of the bar
-
getStartY
public double getStartY(int item) Description copied from interface:IntervalXYDataSeriesInternalGets the bottom-most point of the bar.- Specified by:
getStartYin interfaceIntervalXYDataSeriesInternal- Specified by:
getStartYin interfaceXYDataSeriesInternal- Parameters:
item- index- Returns:
- bottom-most point of the bar
-
getEndY
public double getEndY(int item) Description copied from interface:IntervalXYDataSeriesInternalGets the top-most point of the bar.- Specified by:
getEndYin interfaceIntervalXYDataSeriesInternal- Specified by:
getEndYin interfaceXYDataSeriesInternal- Parameters:
item- index- Returns:
- top-most point of the bar
-
getStartX
-
getEndX
-
getStartY
-
getEndY
-