Class TransformedIntervalXYDataSeries<T extends IntervalXYDataSeriesInternal>
java.lang.Object
com.illumon.iris.db.plot.AbstractSeriesInternal
com.illumon.iris.db.plot.datasets.xy.TransformedXYDataSeries<T>
com.illumon.iris.db.plot.datasets.interval.TransformedIntervalXYDataSeries<T>
- All Implemented Interfaces:
DataSeries,DataSeriesInternal,IntervalXYDataSeries,IntervalXYDataSeriesInternal,ValidatingDataSeries,XYDataSeries,XYDataSeriesInternal,XYErrorBarDataSeries,XYErrorBarDataSeriesInternal,PlotExceptionCause,Series,SeriesInternal,Serializable
- Direct Known Subclasses:
TransformedIntervalXYDataSeries.TransformedIntervalXYDataSeriesSnapshot
public class TransformedIntervalXYDataSeries<T extends IntervalXYDataSeriesInternal> extends TransformedXYDataSeries<T> implements IntervalXYDataSeriesInternal
IntervalXYDataSeriesInternal with possible transforms on the x and y data.- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransformedIntervalXYDataSeries.TransformedIntervalXYDataSeriesSnapshot<T extends IntervalXYDataSeriesInternal>Nested classes/interfaces inherited from class com.illumon.iris.db.plot.datasets.xy.TransformedXYDataSeries
TransformedXYDataSeries.TransformedXYDataSeriesSnapshot -
Field Summary
Fields inherited from class com.illumon.iris.db.plot.datasets.xy.TransformedXYDataSeries
series, xTransform, yTransform -
Constructor Summary
Constructors Constructor Description TransformedIntervalXYDataSeries(T series, DoubleUnaryOperator xTransform, DoubleUnaryOperator yTransform)Creates a TransformedIntervalXYDataSeries instance.TransformedIntervalXYDataSeries(T series, DoubleUnaryOperator xTransform, DoubleUnaryOperator yTransform, boolean isSnapshot)Creates a TransformedIntervalXYDataSeries instance. -
Method Summary
Modifier and Type Method Description TransformedIntervalXYDataSeriescopy(AxesImpl axes)Create a copy of the series on a different set of axes.TransformedIntervalXYDataSeriescreateSnapshot()Returns a snapshot of this dataset which will not update.doublegetEndX(int i)Gets the right-most point of the bar.doublegetEndY(int i)Gets the top-most point of the bar.doublegetStartX(int i)Gets the left-most point of the bar.doublegetStartY(int i)Gets the bottom-most point of the bar.Methods inherited from class com.illumon.iris.db.plot.datasets.xy.TransformedXYDataSeries
chart, drawXError, drawYError, errorBarColor, errorBarColor, errorBarColor, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPointColor, getPointLabel, getPointLabelFormat, getPointShape, getPointSize, getPointsVisible, getSeriesColor, getX, getXRange, getXToolTipPattern, getY, getYRange, getYToolTipPattern, gradientVisible, lineColor, lineColor, lineColor, lineStyle, linesVisible, onClose, 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, size, sort, validate, xToolTipPattern, yToolTipPatternMethods 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.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, yToolTipPatternMethods 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, sizeMethods inherited from interface com.illumon.iris.db.plot.datasets.interval.IntervalXYDataSeriesInternal
getXRangeMethods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onClose, onInflate, removeTableHandleMethods 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, pointSizeMethods inherited from interface com.illumon.iris.db.plot.datasets.xy.XYDataSeriesInternal
drawXError, drawYError, getPointColor, getPointLabel, getPointShape, getPointSize, getX, getY, getYRange, sort
-
Constructor Details
-
TransformedIntervalXYDataSeries
public TransformedIntervalXYDataSeries(T series, DoubleUnaryOperator xTransform, DoubleUnaryOperator yTransform)Creates a TransformedIntervalXYDataSeries instance.- Parameters:
series- dataxTransform- transform on x valuesyTransform- transform on y values
-
TransformedIntervalXYDataSeries
public TransformedIntervalXYDataSeries(T series, DoubleUnaryOperator xTransform, DoubleUnaryOperator yTransform, boolean isSnapshot)Creates a TransformedIntervalXYDataSeries instance.- Parameters:
series- dataxTransform- transform on x valuesyTransform- transform on y valuesisSnapshot- indicates if this is a snapshot
-
-
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- Specified by:
copyin interfaceXYErrorBarDataSeriesInternal- Overrides:
copyin classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>- Parameters:
axes- new axes.- Returns:
- copy of the series on a different set of axes.
-
createSnapshot
Description copied from interface:DataSeriesInternalReturns a snapshot of this dataset which will not update.- Specified by:
createSnapshotin interfaceDataSeriesInternal- Specified by:
createSnapshotin interfaceIntervalXYDataSeriesInternal- Specified by:
createSnapshotin interfaceXYDataSeriesInternal- Overrides:
createSnapshotin classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>
-
getStartX
public double getStartX(int i)Description copied from interface:IntervalXYDataSeriesInternalGets the left-most point of the bar.- Specified by:
getStartXin interfaceIntervalXYDataSeriesInternal- Specified by:
getStartXin interfaceXYDataSeriesInternal- Overrides:
getStartXin classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>- Parameters:
i- index- Returns:
- left-most point of the bar
-
getEndX
public double getEndX(int i)Description copied from interface:IntervalXYDataSeriesInternalGets the right-most point of the bar.- Specified by:
getEndXin interfaceIntervalXYDataSeriesInternal- Specified by:
getEndXin interfaceXYDataSeriesInternal- Overrides:
getEndXin classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>- Parameters:
i- index- Returns:
- right-most point of the bar
-
getStartY
public double getStartY(int i)Description copied from interface:IntervalXYDataSeriesInternalGets the bottom-most point of the bar.- Specified by:
getStartYin interfaceIntervalXYDataSeriesInternal- Specified by:
getStartYin interfaceXYDataSeriesInternal- Overrides:
getStartYin classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>- Parameters:
i- index- Returns:
- bottom-most point of the bar
-
getEndY
public double getEndY(int i)Description copied from interface:IntervalXYDataSeriesInternalGets the top-most point of the bar.- Specified by:
getEndYin interfaceIntervalXYDataSeriesInternal- Specified by:
getEndYin interfaceXYDataSeriesInternal- Overrides:
getEndYin classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>- Parameters:
i- index- Returns:
- top-most point of the bar
-