equals
public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
obj
- the object (null
permitted).
getDomainBounds
public Range getDomainBounds(boolean includeInterval)
Returns the range of the values in this dataset's domain.
- getDomainBounds in interface DomainInfo
includeInterval
- a flag that determines whether or not the
x-interval is taken into account.
getDomainIsPointsInTime
public boolean getDomainIsPointsInTime()
This flag is no longer used by JFreeChart (as of version
1.0.3).
Returns a flag that controls whether the domain is treated as 'points
in time'. This flag is used when determining the max and min values for
the domain. If true, then only the x-values are considered for the max
and min values. If false, then the start and end x-values will also be
taken into consideration
getDomainLowerBound
public double getDomainLowerBound(boolean includeInterval)
Returns the minimum x-value in the dataset.
- getDomainLowerBound in interface DomainInfo
includeInterval
- a flag that determines whether or not the
x-interval is taken into account.
getDomainUpperBound
public double getDomainUpperBound(boolean includeInterval)
Returns the maximum x-value in the dataset.
- getDomainUpperBound in interface DomainInfo
includeInterval
- a flag that determines whether or not the
x-interval is taken into account.
getEndX
public Number getEndX(int series,
int item)
Returns the ending X value for the specified series and item.
- getEndX in interface IntervalXYDataset
series
- the series (zero-based index).item
- the item (zero-based index).
- The ending X value for the specified series and item.
getEndY
public Number getEndY(int series,
int item)
Returns the ending Y value for the specified series and item.
- getEndY in interface IntervalXYDataset
series
- the series (zero-based index).item
- the item (zero-based index).
- The ending Y value for the specified series and item.
getItemCount
public int getItemCount(int series)
Returns the number of items in the specified series.
This method is provided for convenience.
- getItemCount in interface XYDataset
series
- the index of the series of interest (zero-based).
- The number of items in the specified series.
getStartX
public Number getStartX(int series,
int item)
Returns the starting X value for the specified series and item.
- getStartX in interface IntervalXYDataset
series
- the series (zero-based index).item
- the item (zero-based index).
- The starting X value for the specified series and item.
getStartY
public Number getStartY(int series,
int item)
Returns the starting Y value for the specified series and item.
- getStartY in interface IntervalXYDataset
series
- the series (zero-based index).item
- the item (zero-based index).
- The starting Y value for the specified series and item.
getX
public Number getX(int series,
int item)
Returns the x-value for the specified series and item.
- getX in interface XYDataset
series
- the series (zero-based index).item
- the item (zero-based index).
- The x-value for the specified series and item.
getY
public Number getY(int series,
int item)
Returns the y-value for the specified series and item.
- getY in interface XYDataset
series
- the series (zero-based index).item
- the item (zero-based index).
- The y-value for the specified series and item.
removeSeries
public void removeSeries(int index)
Removes a series from the collection.
index
- the series index (zero-based).
removeSeries
public void removeSeries(TimePeriodValues series)
Removes the specified series from the collection.
series
- the series to remove (null
not permitted).
setDomainIsPointsInTime
public void setDomainIsPointsInTime(boolean flag)
This flag is no longer used by JFreeChart (as of version
1.0.3).
Sets a flag that controls whether the domain is treated as 'points in
time', or time periods.
flag
- the new value of the flag.
setXPosition
public void setXPosition(TimePeriodAnchor position)
Sets the position of the x axis within each time period.
position
- the position (null
not permitted).