|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.achartengine.model.CategorySeries
org.achartengine.model.RangeCategorySeries
public class RangeCategorySeries
A series for the range category charts like the range bar.
| Constructor Summary | |
|---|---|
RangeCategorySeries(java.lang.String title)
Builds a new category series. |
|
| Method Summary | |
|---|---|
void |
add(double minValue,
double maxValue)
Adds new values to the series |
void |
add(java.lang.String category,
double minValue,
double maxValue)
Adds new values to the series. |
void |
clear()
Removes all the existing values from the series. |
double |
getMaximumValue(int index)
Returns the maximum value at the specified index. |
double |
getMinimumValue(int index)
Returns the minimum value at the specified index. |
void |
remove(int index)
Removes existing values from the series. |
XYSeries |
toXYSeries()
Transforms the range category series to an XY series. |
| Methods inherited from class org.achartengine.model.CategorySeries |
|---|
add, add, getCategory, getItemCount, getTitle, getValue, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeCategorySeries(java.lang.String title)
title - the series title| Method Detail |
|---|
public void add(double minValue,
double maxValue)
minValue - the new minimum valuemaxValue - the new maximum value
public void add(java.lang.String category,
double minValue,
double maxValue)
category - the categoryminValue - the new minimum valuemaxValue - the new maximum valuepublic void remove(int index)
remove in class CategorySeriesindex - the index in the series of the values to removepublic void clear()
clear in class CategorySeriespublic double getMinimumValue(int index)
index - the index
public double getMaximumValue(int index)
index - the index
public XYSeries toXYSeries()
toXYSeries in class CategorySeries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||