|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XYDataset
An interface through which data in the form of (x, y) items can be accessed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.androidplot.data.Dataset |
---|
Dataset.DomainOrder |
Method Summary | |
---|---|
int |
getItemCount(int series)
Returns the number of items in a series. |
Number |
getMaxX(int series)
|
Number |
getMaxY(int series)
|
Number |
getMinX(int series)
|
Number |
getMinY(int series)
|
Number |
getX(int series,
int index)
Returns the x-value for an index within a series. |
Number |
getY(int series,
int index)
Returns the y-value (as a double primitive) for an index within a series. |
Methods inherited from interface com.androidplot.data.Dataset |
---|
addChangeListener, getDomainOrder, readLock, readUnlock, removeChangeListener |
Method Detail |
---|
Number getX(int series, int index)
series
- the series index (in the range 0
to
getSeriesCount() - 1
).index
- the index index (in the range 0
to
getItemCount(series)
).
Number getMinX(int series)
Number getMaxX(int series)
int getItemCount(int series)
IllegalArgumentException
if the series
argument is outside the specified range.
series
- the series index (in the range 0
to
getSeriesCount() - 1
).
Number getY(int series, int index)
series
- the series index (in the range 0
to
getSeriesCount() - 1
).index
- the index index (in the range 0
to
getItemCount(series)
).
Number getMinY(int series)
Number getMaxY(int series)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |