public interface Series
Modifier and Type | Method and Description |
---|---|
void |
addDataChangedListener(DataChangedListener listener) |
int |
getDimensions()
Gets the number of values (coordinates) that can be returned by each data item.
|
java.lang.String |
getLabel(int index,
LabelKinds kind)
Returns a label for the specified data item in this series.
|
int |
getSize()
Gets the number of data items in this series.
|
java.util.EnumSet<LabelKinds> |
getSupportedLabels()
Gets the kind of labels supported by this series.
|
java.lang.String |
getTitle()
Gets the title of this series.
|
double |
getValue(int index,
int dimension)
Returns a value for the specified data item in this series.
|
boolean |
isEmphasized(int index)
Gets a value indicating whether the specified data item should be emphasized by the SeriesRenderer.
|
boolean |
isSorted(int dimension)
Gets a value indicating whether the series values increase monotonously in specified dimension.
|
void |
removeDataChangedListener(DataChangedListener listener) |
double getValue(int index, int dimension)
index
- An integer value specifying the index of a data item.dimension
- An integer value specifying the dimension whose coordinate to return.java.lang.String getLabel(int index, LabelKinds kind)
index
- An integer value specifying the index of a data item.kind
- A member of the LabelKinds enumeration.boolean isSorted(int dimension)
dimension
- An integer value identifying the dimension.boolean isEmphasized(int index)
index
- An integer value specifying the index of a data item.int getSize()
int getDimensions()
java.lang.String getTitle()
java.util.EnumSet<LabelKinds> getSupportedLabels()
void addDataChangedListener(DataChangedListener listener)
void removeDataChangedListener(DataChangedListener listener)