public class TimeSeriesChartRealTimeWrapper
extends java.lang.Object
| Constructor and Description |
|---|
TimeSeriesChartRealTimeWrapper(TimeSeriesChart timeSeriesChart,
TimeSeriesLengthRestriction lengthRestriction)
Instantiates a new time series chart real time wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValuePair(int timeSeriesIndex,
long timeStamp,
float value)
Adds a value pair to a time series.
|
void |
addValuePair(int timeSeriesIndex,
TimeSeriesValuePair valuePair)
Adds a value pair to a time series.
|
void |
applyLengthRestriction()
Apply the length restriction on all time series.
|
void |
applyLengthRestriction(int timeSeriesIndex)
Apply the length restriction on a specific time series.
|
void |
applyLengthRestriction(TimeSeries timeSeries)
Apply the length restriction on a specific time series.
|
TimeSeriesChart |
getTimeSeriesChart()
Gets the time series chart.
|
void |
setTimeSeriesChart(TimeSeriesChart tsc)
Sets the time series chart.
|
public TimeSeriesChartRealTimeWrapper(TimeSeriesChart timeSeriesChart, TimeSeriesLengthRestriction lengthRestriction)
timeSeriesChart - the time series chartlengthRestriction - the length restrictionpublic void setTimeSeriesChart(TimeSeriesChart tsc)
tsc - the new time series chartpublic TimeSeriesChart getTimeSeriesChart()
public void applyLengthRestriction()
public void applyLengthRestriction(int timeSeriesIndex)
timeSeriesIndex - the time series indexpublic void applyLengthRestriction(TimeSeries timeSeries)
timeSeries - the time seriespublic void addValuePair(int timeSeriesIndex,
long timeStamp,
float value)
timeSeriesIndex - the time series indextimeStamp - the time stampvalue - the valuepublic void addValuePair(int timeSeriesIndex,
TimeSeriesValuePair valuePair)
timeSeriesIndex - the time series indexvaluePair - the value pair