public class ClippedCircularBufferDataProvider extends CircularBufferDataProvider
CircularBufferDataProvider
with a limited window on the trace data
for computing data ranges.CircularBufferDataProvider.PlotMode, CircularBufferDataProvider.UpdateMode
chronological, listeners, xDataMinMax, yDataMinMax
Constructor and Description |
---|
ClippedCircularBufferDataProvider(boolean chronological,
int bufferSize,
int clippingWindow) |
Modifier and Type | Method and Description |
---|---|
int |
getClippingWindow() |
Range |
getDataRange(boolean positiveOnly,
boolean isXAxis)
Returns an updated range whenever data changed, for the XAxis or YAxis,
with positive data only or not.
|
void |
setClippingWindow(int clippingWindow) |
addSample, clearTrace, fireDataChange, getSample, getSize, getUpdateMode, isConcatenate_data, iterator, setBufferSize, setConcatenate_data, setCurrentXData, setCurrentXDataArray, setCurrentYData, setCurrentYData, setCurrentYDataArray, setCurrentYDataTimestamp, setPlotMode, setUpdateDelay, setUpdateMode, setXAxisDateEnabled, triggerUpdate
addDataProviderListener, getDataRange, getXDataMinMax, getXDataMinMax, getYDataMinMax, getYDataMinMax, isChronological, removeDataProviderListener, setChronological
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasErrors
public ClippedCircularBufferDataProvider(boolean chronological, int bufferSize, int clippingWindow)
public void setClippingWindow(int clippingWindow)
public int getClippingWindow()
public Range getDataRange(boolean positiveOnly, boolean isXAxis)
AbstractDataProvider
getDataRange
in class AbstractDataProvider
positiveOnly
- if data is positive only (for log scale mode)