public class TimeSeriesDataSetAdapter
extends AbstractXYDataset
Constructor and Description |
---|
TimeSeriesDataSetAdapter(TimeSeries timeSeries,
boolean allowMultipleValues)
convert a DesmoJ timeserie to an JFREE.CHART XYDataset.
|
Modifier and Type | Method and Description |
---|---|
Range |
getDomainBounds() |
Range |
getDomainBounds(boolean flag) |
double |
getDomainLowerBound() |
double |
getDomainLowerBound(boolean flag) |
Range |
getDomainRange() |
double |
getDomainUpperBound() |
double |
getDomainUpperBound(boolean flag) |
int |
getItemCount(int i) |
java.lang.Number |
getMaximumDomainValue() |
java.lang.Number |
getMaximumRangeValue() |
java.lang.Number |
getMinimumDomainValue() |
java.lang.Number |
getMinimumRangeValue() |
Range |
getRangeBounds(boolean flag) |
double |
getRangeLowerBound() |
double |
getRangeLowerBound(boolean flag) |
java.util.concurrent.TimeUnit |
getRangeTimeUnit()
in the case timeSeries.getShowTimeSpansInReport()
a rangeTimeUnit is automatic determined
|
double |
getRangeUpperBound() |
double |
getRangeUpperBound(boolean flag) |
int |
getSeriesCount() |
java.lang.Comparable |
getSeriesKey(int i) |
Range |
getValueRange() |
java.lang.Number |
getX(int i,
int j) |
java.lang.Number |
getY(int i,
int j) |
boolean |
isValid()
is invalid when timeSeries.getShowTimeSpansInReport()
and timsSeries has negative values
|
public TimeSeriesDataSetAdapter(TimeSeries timeSeries, boolean allowMultipleValues)
timeSeries
- DesmoJ timeSerieallowMultipleValues
- public java.lang.Number getX(int i, int j)
public java.lang.Number getY(int i, int j)
public int getSeriesCount()
public java.lang.Comparable getSeriesKey(int i)
public int getItemCount(int i)
public double getDomainLowerBound()
public double getDomainLowerBound(boolean flag)
public double getDomainUpperBound()
public double getDomainUpperBound(boolean flag)
public Range getDomainBounds()
public Range getDomainBounds(boolean flag)
public Range getDomainRange()
public double getRangeLowerBound()
public double getRangeLowerBound(boolean flag)
public double getRangeUpperBound()
public double getRangeUpperBound(boolean flag)
public Range getRangeBounds(boolean flag)
public Range getValueRange()
public java.lang.Number getMinimumDomainValue()
public java.lang.Number getMaximumDomainValue()
public java.lang.Number getMinimumRangeValue()
public java.lang.Number getMaximumRangeValue()
public boolean isValid()
public java.util.concurrent.TimeUnit getRangeTimeUnit()