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 class
TransformedIntervalXYDataSeries.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 TransformedIntervalXYDataSeries
copy(AxesImpl axes)
Create a copy of the series on a different set of axes.TransformedIntervalXYDataSeries
createSnapshot()
Returns a snapshot of this dataset which will not update.double
getEndX(int i)
Gets the right-most point of the bar.double
getEndY(int i)
Gets the top-most point of the bar.double
getStartX(int i)
Gets the left-most point of the bar.double
getStartY(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, yToolTipPattern
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.datasets.interval.IntervalXYDataSeriesInternal
getXRange
Methods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onClose, 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
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:SeriesInternal
Create a copy of the series on a different set of axes.- Specified by:
copy
in interfaceDataSeriesInternal
- Specified by:
copy
in interfaceIntervalXYDataSeriesInternal
- Specified by:
copy
in interfaceSeriesInternal
- Specified by:
copy
in interfaceXYDataSeriesInternal
- Specified by:
copy
in interfaceXYErrorBarDataSeriesInternal
- Overrides:
copy
in classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>
- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-
createSnapshot
Description copied from interface:DataSeriesInternal
Returns a snapshot of this dataset which will not update.- Specified by:
createSnapshot
in interfaceDataSeriesInternal
- Specified by:
createSnapshot
in interfaceIntervalXYDataSeriesInternal
- Specified by:
createSnapshot
in interfaceXYDataSeriesInternal
- Overrides:
createSnapshot
in classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>
-
getStartX
public double getStartX(int i)Description copied from interface:IntervalXYDataSeriesInternal
Gets the left-most point of the bar.- Specified by:
getStartX
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getStartX
in interfaceXYDataSeriesInternal
- Overrides:
getStartX
in classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>
- Parameters:
i
- index- Returns:
- left-most point of the bar
-
getEndX
public double getEndX(int i)Description copied from interface:IntervalXYDataSeriesInternal
Gets the right-most point of the bar.- Specified by:
getEndX
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getEndX
in interfaceXYDataSeriesInternal
- Overrides:
getEndX
in classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>
- Parameters:
i
- index- Returns:
- right-most point of the bar
-
getStartY
public double getStartY(int i)Description copied from interface:IntervalXYDataSeriesInternal
Gets the bottom-most point of the bar.- Specified by:
getStartY
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getStartY
in interfaceXYDataSeriesInternal
- Overrides:
getStartY
in classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>
- Parameters:
i
- index- Returns:
- bottom-most point of the bar
-
getEndY
public double getEndY(int i)Description copied from interface:IntervalXYDataSeriesInternal
Gets the top-most point of the bar.- Specified by:
getEndY
in interfaceIntervalXYDataSeriesInternal
- Specified by:
getEndY
in interfaceXYDataSeriesInternal
- Overrides:
getEndY
in classTransformedXYDataSeries<T extends IntervalXYDataSeriesInternal>
- Parameters:
i
- index- Returns:
- top-most point of the bar
-