public abstract class LiveDataSeries extends PointSeries implements IProcessableOption
| Modifier and Type | Field and Description |
|---|---|
static String |
PROCESSING_KEY
The key under which
LiveDataSeries are registered in the parent
options. |
| Constructor and Description |
|---|
LiveDataSeries(Options parentOptions,
int updateIntervalMs)
Constructs a new
LiveDataSeries. |
| Modifier and Type | Method and Description |
|---|---|
Options |
getParentOptions() |
String |
getProcessingKey() |
int |
getUpdateIntervalMs() |
void |
setUpdateIntervalMs(int updateIntervalMs) |
abstract Coordinate<Number,Number> |
update()
This method is called for each update interval.
|
addNumberPoint, addNumbers, getData, setData, setData, setNumberData, setNumberDataaddPoint, getCenter, getColor, getDashStyle, getDataLabels, getEnableMouseTracking, getInnerSize, getLegendIndex, getMarker, getName, getPointInterval, getPointPlacement, getPointStart, getShowInLegend, getSize, getStack, getStates, getTooltip, getType, getWickedChartsId, getxAxis, getyAxis, setCenter, setColor, setColor, setDashStyle, setDataLabels, setEnableMouseTracking, setInnerSize, setLegendIndex, setMarker, setName, setPointInterval, setPointPlacement, setPointStart, setShowInLegend, setSize, setStack, setStates, setTooltip, setType, setWickedChartsId, setxAxis, setyAxispublic static final String PROCESSING_KEY
LiveDataSeries are registered in the parent
options. See Options.markForProcessing(IProcessableOption) .public LiveDataSeries(Options parentOptions, int updateIntervalMs)
LiveDataSeries.parentOptions - the Options to which this series are added.updateIntervalMs - the interval in which to update the series in milliseconds.public Options getParentOptions()
public void setUpdateIntervalMs(int updateIntervalMs)
public int getUpdateIntervalMs()
public String getProcessingKey()
getProcessingKey in interface IProcessableOptionpublic abstract Coordinate<Number,Number> update()
Coordinate to add to the series.Copyright © 2013. All Rights Reserved.