public final class TimeSeriesItem extends AbstractDataPoint
DataPoint| Constructor and Description |
|---|
TimeSeriesItem(Date time)
Creates a time series item setting the time passed as argument.
|
TimeSeriesItem(Date time,
double value)
Creates a time series item setting the time and the value passed as argument.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getTime()
Returns the time of time series item.
|
double |
getValue()
Returns the value of time series item.
|
void |
setValue(double value)
Sets the value of time series item.
|
getAttribute, getAttributeAsDate, getAttributeAsObject, getAttributeAsString, setAttribute, setAttribute, setAttribute, setAttributecheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic TimeSeriesItem(Date time)
Double.NaN.time - time of itempublic TimeSeriesItem(Date time, double value)
time - time of itemvalue - value of itempublic void setValue(double value)
value - the value of time series itempublic double getValue()
public Date getTime()