|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.achartengine.model.MultipleCategorySeries
public class MultipleCategorySeries
A series for the multiple category charts like the doughnut.
Constructor Summary | |
---|---|
MultipleCategorySeries(java.lang.String title)
Builds a new category series. |
Method Summary | |
---|---|
void |
add(java.lang.String[] titles,
double[] values)
Adds a new value to the series |
void |
add(java.lang.String category,
java.lang.String[] titles,
double[] values)
Adds a new value to the series. |
void |
clear()
Removes all the existing values from the series. |
int |
getCategoriesCount()
Returns the categories count. |
java.lang.String |
getCategory(int index)
Returns the category name at the specified index. |
int |
getItemCount(int index)
Returns the series item count. |
java.lang.String[] |
getTitles(int index)
Returns the series titles. |
double[] |
getValues(int index)
Returns the values at the specified index. |
void |
remove(int index)
Removes an existing value from the series. |
XYSeries |
toXYSeries()
Transforms the category series to an XY series. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipleCategorySeries(java.lang.String title)
title
- the series titleMethod Detail |
---|
public void add(java.lang.String[] titles, double[] values)
titles
- the titles to be used as labelsvalues
- the new valuepublic void add(java.lang.String category, java.lang.String[] titles, double[] values)
category
- the category nametitles
- the titles to be used as labelsvalues
- the new valuepublic void remove(int index)
index
- the index in the series of the value to removepublic void clear()
public double[] getValues(int index)
index
- the index
public java.lang.String getCategory(int index)
index
- the index
public int getCategoriesCount()
public int getItemCount(int index)
index
- the index
public java.lang.String[] getTitles(int index)
index
- the index
public XYSeries toXYSeries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |