| AndBase开发框架 1.6

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | Private 属性 | 所有成员列表
com.ab.view.chart.MultipleCategorySeries类 参考
类 com.ab.view.chart.MultipleCategorySeries 继承关系图:

## Public 成员函数
| MultipleCategorySeries (String title)
void | add (String[] titles, double[] values)
void | add (String category, String[] titles, double[] values)
void | remove (int index)
void | clear ()
double[] | getValues (int index)
String | getCategory (int index)
int | getCategoriesCount ()
int | getItemCount (int index)
String[] | getTitles (int index)
XYSeries | toXYSeries ()

## Private 属性
String | mTitle
List< String > | mCategories = new ArrayList<String>()
List< String[]> | mTitles = new ArrayList<String[]>()
List< double[]> | mValues = new ArrayList<double[]>()

## 详细描述

A series for the multiple category charts like the doughnut.

## 构造及析构函数说明

com.ab.view.chart.MultipleCategorySeries.MultipleCategorySeries | ( | String | title | ) |
| inline

Builds a new category series.

参数

  title | the series title

## 成员函数说明

void com.ab.view.chart.MultipleCategorySeries.add | ( | String[] | titles,
|  | double[] | values
| ) |  |
| inline

Adds a new value to the series.

参数

  titles | the titles to be used as labels
  values | the new value

void com.ab.view.chart.MultipleCategorySeries.add | ( | String | category,
|  | String[] | titles,
|  | double[] | values
| ) |  |
| inline

Adds a new value to the series.

参数

  category | the category name
  titles | the titles to be used as labels
  values | the new value

void com.ab.view.chart.MultipleCategorySeries.clear | ( |  | ) |
| inline

Removes all the existing values from the series.

int com.ab.view.chart.MultipleCategorySeries.getCategoriesCount | ( |  | ) |
| inline

Returns the categories count.

返回
  the categories count

String com.ab.view.chart.MultipleCategorySeries.getCategory | ( | int | index | ) |
| inline

Returns the category name at the specified index.

参数

  index | the index

返回
  the category name at the index

int com.ab.view.chart.MultipleCategorySeries.getItemCount | ( | int | index | ) |
| inline

Returns the series item count.

参数

  index | the index

返回
  the series item count

String [] com.ab.view.chart.MultipleCategorySeries.getTitles | ( | int | index | ) |
| inline

Returns the series titles.

参数

  index | the index

返回
  the series titles

double [] com.ab.view.chart.MultipleCategorySeries.getValues | ( | int | index | ) |
| inline

Returns the values at the specified index.

参数

  index | the index

返回
  the value at the index

void com.ab.view.chart.MultipleCategorySeries.remove | ( | int | index | ) |
| inline

Removes an existing value from the series.

参数

  index | the index in the series of the value to remove

XYSeries com.ab.view.chart.MultipleCategorySeries.toXYSeries | ( |  | ) |
| inline

Transforms the category series to an XY series.

返回
  the XY series

## 类成员变量说明

List<String> com.ab.view.chart.MultipleCategorySeries.mCategories = new ArrayList<String>()
| private

The series local keys.

String com.ab.view.chart.MultipleCategorySeries.mTitle
| private

The series title.

List<String[]> com.ab.view.chart.MultipleCategorySeries.mTitles = new ArrayList<String[]>()
| private

The series name.

List<double[]> com.ab.view.chart.MultipleCategorySeries.mValues = new ArrayList<double[]>()
| private

The series values.

该类的文档由以下文件生成:

- src/com/ab/view/chart/MultipleCategorySeries.java