Public 成员函数 | |
| CategorySeries (String title) | |
| String | getTitle () |
| synchronized void | add (double value) |
| synchronized void | add (double value, int color) |
| synchronized void | add (double value, int color, String explain) |
| synchronized void | add (String category, double value) |
| synchronized void | add (String category, double value, int color) |
| synchronized void | add (String category, double value, int color, String explain) |
| synchronized void | set (int index, String category, double value) |
| synchronized void | remove (int index) |
| synchronized void | clear () |
| synchronized double | getValue (int index) |
| synchronized String | getCategory (int index) |
| List< Integer > | getColors () |
| List< String > | getExplains () |
| synchronized int | getItemCount () |
| XYSeries | toXYSeries () |
包属性 | |
| List< String > | mExplains = new ArrayList<String>() |
Private 属性 | |
| String | mTitle |
| List< String > | mCategories = new ArrayList<String>() |
| List< Double > | mValues = new ArrayList<Double>() |
| List< Integer > | mColors = new ArrayList<Integer>() |
A series for the category charts like the pie ones.
|
inline |
Builds a new category series.
| title | the series title |
|
inline |
Adds a new value to the series.
| value | the new value |
|
inline |
增加一个新的点以及颜色值.
| value | the new value |
| color | the new color |
|
inline |
增加一个新的点以及颜色值,以及颜色,文字说明.
| value | the new value |
| color | the new color |
| explain | the explain |
|
inline |
Adds a new value to the series.
| category | the category |
| value | the new value |
|
inline |
Adds a new value to the series. 以及颜色
| category | the category |
| value | the new value |
| color | the new color |
|
inline |
Adds a new value to the series. 以及颜色,文字说明
| category | the category |
| value | the new value |
| color | the new color |
| explain | the explain |
|
inline |
Removes all the existing values from the series.
|
inline |
Returns the category name at the specified index.
| index | the index |
|
inline |
描述:获取点颜色数组.
|
inline |
描述:获取点说明.
|
inline |
Returns the series item count.
|
inline |
Returns the series title.
|
inline |
Returns the value at the specified index.
| index | the index |
|
inline |
Removes an existing value from the series.
| index | the index in the series of the value to remove |
|
inline |
Replaces the value at the specific index in the series.
| index | the index in the series |
| category | the category |
| value | the new value |
|
inline |
Transforms the category series to an XY series.
|
private |
The series categories.
|
private |
每个点的颜色.
|
package |
每个数据点的简要 说明.
|
private |
The series title.
|
private |
The series values.
1.8.8