public class ChartDataTimeSeries extends AbstractChartDataTable<java.lang.Double>
Double
.Constructor and Description |
---|
ChartDataTimeSeries(Model ownerModel,
java.util.List<java.lang.Double> timeValues,
java.util.List<java.lang.Double> dataValues,
java.lang.Double validFrom,
java.lang.Double validTo,
java.lang.String group)
Create an Object to represent the data for a TimeSeries.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double[] |
getDataValues()
Return an array of data values.
|
java.lang.String |
getGroup()
Returns the group ID value.
|
java.lang.Double[] |
getTimeValues()
Returns an array of time values.
|
double |
getValidFrom()
Returns the lowest possible time value.
|
double |
getValidTo()
Returns the highest possible time value.
|
getDataValue, getHighestDataValue, getNumOfData, getOwnerModel, isEmpty
public ChartDataTimeSeries(Model ownerModel, java.util.List<java.lang.Double> timeValues, java.util.List<java.lang.Double> dataValues, java.lang.Double validFrom, java.lang.Double validTo, java.lang.String group)
ownerModel
- Model : The owner model this chart data is associated to.timeValues
- java.util.List : List for saving the time values in the memory.dataValues
- java.util.List : List for saving the data values in the memory.validFrom
- Double : Start of the interval of the time series.validTo
- Double : End of the interval of the time series.group
- String : An ID to separate different plots into different diagrams, if desired.public java.lang.Double[] getDataValues()
public java.lang.Double[] getTimeValues()
public double getValidTo()
public double getValidFrom()
public java.lang.String getGroup()