Class XYDataSeriesSwappableTableArray
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.xy.XYDataSeriesSwappableTableArray
- All Implemented Interfaces:
DataSeries,DataSeriesInternal,ValidatingDataSeries,XYDataSeries,XYDataSeriesInternal,PlotExceptionCause,Series,SeriesInternal,TableSnapshotSeries,SwappableTable.LocalTableUpdateListener,TableSnapshotChangeListener,Serializable
public class XYDataSeriesSwappableTableArray
extends XYDataSeriesArray
implements SwappableTable.LocalTableUpdateListener, TableSnapshotSeries
- See Also:
-
Field Summary
Fields inherited from class com.illumon.iris.db.plot.AbstractSeriesInternal
dataChangeListener -
Constructor Summary
ConstructorsConstructorDescriptionXYDataSeriesSwappableTableArray(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String x, String y) -
Method Summary
Modifier and TypeMethodDescriptionCreate a copy of the series on a different set of axes.Live data sets must override this implementation.voidonClose()Series shut down after the plot is closed.voidonLocalTableUpdate(Table localTable) Updates this listener with the new table.<T extends Paint>
AbstractXYDataSeriespointColorByY(Function<Double, T> colors) Sets the point color for a data point based upon the y-value.Methods inherited from class com.illumon.iris.db.plot.datasets.xy.XYDataSeriesArray
convertSeriesToSortedSeries, getX, getX, getXRange, getY, getY, getYRange, size, sortMethods 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, 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, yToolTipPatternMethods 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, setYToolTipPatternMethods inherited from class com.illumon.iris.db.plot.AbstractSeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, axes, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, id, name, removeTableHandleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getXToolTipPattern, getYToolTipPattern, id, nameMethods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onInflate, removeTableHandleMethods inherited from interface com.illumon.iris.db.plot.util.tables.SwappableTable.LocalTableUpdateListener
onInitialSnapshotMethods inherited from interface com.illumon.iris.db.plot.TableSnapshotSeries
notifyTableSnapshotChangedMethods inherited from interface com.illumon.iris.db.plot.datasets.xy.XYDataSeriesInternal
drawXError, drawYError, getEndX, getEndY, getStartX, getStartY
-
Constructor Details
-
XYDataSeriesSwappableTableArray
public XYDataSeriesSwappableTableArray(AxesImpl axes, int id, Comparable name, SwappableTable swappableTable, String x, String y)
-
-
Method Details
-
pointColorByY
Description copied from interface:DataSeriesSets the point color for a data point based upon the y-value.- Specified by:
pointColorByYin interfaceDataSeries- Overrides:
pointColorByYin classAbstractXYDataSeries- Parameters:
colors- function from the y-value of data points toPaint- Returns:
- this DataSeries
-
createSnapshot
Description copied from class:XYDataSeriesArrayLive data sets must override this implementation. See XYDataSeriesTableArray for an example.- Specified by:
createSnapshotin interfaceDataSeriesInternal- Specified by:
createSnapshotin interfaceXYDataSeriesInternal- Overrides:
createSnapshotin classXYDataSeriesArray
-
copy
Description copied from interface:SeriesInternalCreate a copy of the series on a different set of axes.- Specified by:
copyin interfaceDataSeriesInternal- 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.
-
onLocalTableUpdate
Description copied from interface:SwappableTable.LocalTableUpdateListenerUpdates this listener with the new table.- Specified by:
onLocalTableUpdatein interfaceSwappableTable.LocalTableUpdateListener- Parameters:
localTable- table
-
onClose
public void onClose()Description copied from interface:SeriesInternalSeries shut down after the plot is closed.- Specified by:
onClosein interfaceSeriesInternal- Overrides:
onClosein classXYDataSeriesArray
-