org.cafesip.gwtcomp.client.common
Class TimeSeriesPlotData
java.lang.Object
org.cafesip.gwtcomp.client.common.TimeSeriesPlotData
- All Implemented Interfaces:
- java.io.Serializable, ChartData, PlotInfo
public class TimeSeriesPlotData
- extends java.lang.Object
- implements ChartData, PlotInfo, java.io.Serializable
This class is used for passing data for a given plot to be displayed by the
LiveDataService component.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeSeriesPlotData
public TimeSeriesPlotData()
- A constructor for this class.
TimeSeriesPlotData
public TimeSeriesPlotData(java.util.Date timestamp,
java.lang.Double[] value)
- A constructor for this class.
- Parameters:
timestamp - timestamp for the data point.value - the data, each element of the array represents the Y-value for
a series. If your plot has 3 series, the array must have 3
elements representing the value for each series at the give
time.
getTimestamp
public java.util.Date getTimestamp()
- Returns:
- Returns the timestamp.
setTimestamp
public void setTimestamp(java.util.Date timestamp)
- Parameters:
timestamp - The timestamp to set.
getValue
public java.lang.Double[] getValue()
- Returns:
- Returns the value.
setValue
public void setValue(java.lang.Double[] value)
- Parameters:
value - The value to set.
http://www.cafesip.org