|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.achartengine.model.XYSeries
org.achartengine.model.XYValueSeries
public class XYValueSeries
An extension of the XY series which adds a third dimension. It is used for XY charts like bubble.
Constructor Summary | |
---|---|
XYValueSeries(java.lang.String title)
Builds a new XY value series. |
Method Summary | |
---|---|
void |
add(double x,
double y)
Adds a new value to the series. |
void |
add(double x,
double y,
double value)
Adds a new value to the series. |
void |
clear()
Removes all the values from the series. |
double |
getMaxValue()
Returns the maximum value. |
double |
getMinValue()
Returns the minimum value. |
double |
getValue(int index)
Returns the value at the specified index. |
void |
remove(int index)
Removes an existing value from the series. |
Methods inherited from class org.achartengine.model.XYSeries |
---|
getItemCount, getMaxX, getMaxY, getMinX, getMinY, getScaleNumber, getTitle, getX, getY, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XYValueSeries(java.lang.String title)
title
- the series title.Method Detail |
---|
public void add(double x, double y, double value)
x
- the value for the X axisy
- the value for the Y axisvalue
- the valuepublic void add(double x, double y)
add
in class XYSeries
x
- the value for the X axisy
- the value for the Y axispublic void remove(int index)
remove
in class XYSeries
index
- the index in the series of the value to removepublic void clear()
clear
in class XYSeries
public double getValue(int index)
index
- the index
public double getMinValue()
public double getMaxValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |