Class XYErrorBarDataSeriesArray
java.lang.Object
com.illumon.iris.db.plot.AbstractSeriesInternal
com.illumon.iris.db.plot.datasets.AbstractDataSeries
com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSeries
com.illumon.iris.db.plot.datasets.xy.XYDataSeriesArray
com.illumon.iris.db.plot.datasets.xyerrorbar.XYErrorBarDataSeriesArray
- All Implemented Interfaces:
DataSeries
,DataSeriesInternal
,ValidatingDataSeries
,XYDataSeries
,XYDataSeriesInternal
,XYErrorBarDataSeries
,XYErrorBarDataSeriesInternal
,PlotExceptionCause
,Series
,SeriesInternal
,Serializable
- Direct Known Subclasses:
XYErrorBarDataSeriesSwappableTableArray
,XYErrorBarDataSeriesTableArray
public class XYErrorBarDataSeriesArray extends XYDataSeriesArray implements XYErrorBarDataSeriesInternal
Dataset appropriate for an
XYErrorBarDataSeriesInternal
composed of indexable data.- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description XYErrorBarDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData xLow, IndexableNumericData xHigh, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh, boolean drawXError, boolean drawYError)
XYErrorBarDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData xLow, IndexableNumericData xHigh, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh, boolean drawXError, boolean drawYError, AbstractXYDataSeries series)
protected
XYErrorBarDataSeriesArray(XYErrorBarDataSeriesArray series, AxesImpl axes)
Creates a copy of a series using a different Axes and a different listener. -
Method Summary
Modifier and Type Method Description XYErrorBarDataSeriesArray
copy(AxesImpl axes)
Create a copy of the series on a different set of axes.XYErrorBarDataSeriesArray
createSnapshot()
Live data sets must override this implementation.boolean
drawXError()
boolean
drawYError()
double
getEndX(int i)
double
getEndY(int i)
double
getStartX(int i)
double
getStartY(int i)
IndexableNumericData
getXHigh()
IndexableNumericData
getXLow()
org.jfree.data.Range
getXRange()
Gets the x range of this dataset.IndexableNumericData
getYHigh()
IndexableNumericData
getYLow()
org.jfree.data.Range
getYRange()
Gets the y range of this dataset.void
onClose()
Series shut down after the plot is closed.void
sort(DoubleIntegerConsumer onAdd, DoubleIntegerConsumer onRemove, DoubleIntegerConsumer onModify)
Methods inherited from class com.illumon.iris.db.plot.datasets.xy.XYDataSeriesArray
convertSeriesToSortedSeries, getX, getX, getY, getY, size
Methods inherited from class com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSeries
colorsSetSpecific, errorBarColor, errorBarColor, errorBarColor, getPointColor, getPointLabel, getPointShape, getPointSize, getSeriesColor, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorByY, pointColorByY, 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, snapshotModifiers, toolTipPattern, validate, xToolTipPattern, yToolTipPattern
Methods inherited from class com.illumon.iris.db.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 com.illumon.iris.db.plot.AbstractSeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, axes, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, 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 com.illumon.iris.db.plot.datasets.DataSeries
errorBarColor, errorBarColor, errorBarColor, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, pointColor, pointColor, pointColor, pointColorByY, pointColorByY, pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from interface com.illumon.iris.db.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getSeriesColor, getXToolTipPattern, getYToolTipPattern, id, name, size
Methods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onInflate, removeTableHandle
Methods inherited from interface com.illumon.iris.db.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 com.illumon.iris.db.plot.datasets.xy.XYDataSeriesInternal
getPointColor, getPointLabel, getPointShape, getPointSize, getX, getY
-
Constructor Details
-
XYErrorBarDataSeriesArray
public XYErrorBarDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData xLow, IndexableNumericData xHigh, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh, boolean drawXError, boolean drawYError) -
XYErrorBarDataSeriesArray
public XYErrorBarDataSeriesArray(AxesImpl axes, int id, Comparable name, IndexableNumericData x, IndexableNumericData xLow, IndexableNumericData xHigh, IndexableNumericData y, IndexableNumericData yLow, IndexableNumericData yHigh, boolean drawXError, boolean drawYError, AbstractXYDataSeries series) -
XYErrorBarDataSeriesArray
Creates a copy of a series using a different Axes and a different listener.- Parameters:
series
- series to copy.axes
- new axes to use.
-
-
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 interfaceSeriesInternal
- Specified by:
copy
in interfaceXYDataSeriesInternal
- Specified by:
copy
in interfaceXYErrorBarDataSeriesInternal
- Overrides:
copy
in classXYDataSeriesArray
- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-
getStartX
public double getStartX(int i)- Specified by:
getStartX
in interfaceXYDataSeriesInternal
-
getEndX
public double getEndX(int i)- Specified by:
getEndX
in interfaceXYDataSeriesInternal
-
getStartY
public double getStartY(int i)- Specified by:
getStartY
in interfaceXYDataSeriesInternal
-
getEndY
public double getEndY(int i)- Specified by:
getEndY
in interfaceXYDataSeriesInternal
-
drawXError
public boolean drawXError()- Specified by:
drawXError
in interfaceXYDataSeriesInternal
-
drawYError
public boolean drawYError()- Specified by:
drawYError
in interfaceXYDataSeriesInternal
-
sort
public void sort(DoubleIntegerConsumer onAdd, DoubleIntegerConsumer onRemove, DoubleIntegerConsumer onModify)- Specified by:
sort
in interfaceXYDataSeriesInternal
- Overrides:
sort
in classXYDataSeriesArray
-
getXRange
public org.jfree.data.Range getXRange()Description copied from interface:XYDataSeriesInternal
Gets the x range of this dataset. Should never return null.- Specified by:
getXRange
in interfaceXYDataSeriesInternal
- Overrides:
getXRange
in classXYDataSeriesArray
- Returns:
- x range of this dataset
-
getYRange
public org.jfree.data.Range getYRange()Description copied from interface:XYDataSeriesInternal
Gets the y range of this dataset. Should never return null.- Specified by:
getYRange
in interfaceXYDataSeriesInternal
- Overrides:
getYRange
in classXYDataSeriesArray
- Returns:
- y range of this dataset
-
onClose
public void onClose()Description copied from interface:SeriesInternal
Series shut down after the plot is closed.- Specified by:
onClose
in interfaceSeriesInternal
- Overrides:
onClose
in classXYDataSeriesArray
-
createSnapshot
Live data sets must override this implementation. See XYErrorBarDataSeriesTableArray for an example.- Specified by:
createSnapshot
in interfaceDataSeriesInternal
- Specified by:
createSnapshot
in interfaceXYDataSeriesInternal
- Overrides:
createSnapshot
in classXYDataSeriesArray
-
getXLow
-
getXHigh
-
getYLow
-
getYHigh
-