Package io.deephaven.plot.datasets.xy
Class XYDataSeriesArray
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.AbstractDataSeries
io.deephaven.plot.datasets.xy.AbstractXYDataSeries
io.deephaven.plot.datasets.xy.XYDataSeriesArray
- All Implemented Interfaces:
DataSeries,DataSeriesInternal,XYDataSeries,XYDataSeriesInternal,PlotExceptionCause,Series,SeriesInternal,Serializable
- Direct Known Subclasses:
IntervalXYDataSeriesArray,XYDataSeriesSwappableTableArray,XYDataSeriesTableArray,XYErrorBarDataSeriesArray
XYDataSeriesInternal backed by IndexableNumericData.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionXYDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData y) Creates a XYDataSeriesArray instance.XYDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData y, AbstractXYDataSeries series) protectedXYDataSeriesArray(XYDataSeriesArray series, AxesImpl axes) Creates a copy of a series using a different Axes. -
Method Summary
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, 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.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, id, nameMethods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, addTableHandle, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandleMethods inherited from interface io.deephaven.plot.datasets.xy.XYDataSeriesInternal
drawXError, drawYError, getEndX, getEndY, getStartX, getStartY
-
Constructor Details
-
XYDataSeriesArray
public XYDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData y) Creates a XYDataSeriesArray instance.- Parameters:
axes- axes on which this data series will be plottedid- data series idname- series namex- x-valuesy- y-values
-
XYDataSeriesArray
public XYDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData y, AbstractXYDataSeries series) -
XYDataSeriesArray
Creates a copy of a series using a different Axes.- Parameters:
series- series to copy.axes- new axes to use.
-
-
Method Details
-
copy
Description copied from interface:SeriesInternalCreate 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.
-
size
public int size()Description copied from interface:DataSeriesInternalGets the size of this data set.- Returns:
- size of this data set
-
getX
public double getX(int i) Description copied from interface:XYDataSeriesInternalGets the x value of the data point at indexi.- Parameters:
i- index- Returns:
- x value of this data point at index
i
-
getY
public double getY(int i) Description copied from interface:XYDataSeriesInternalGets the y value of the data point at indexi.- Parameters:
i- index- Returns:
- x value of this data point at index
i
-
getX
-
getY
-