| AndBase开发框架 1.6

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

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

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

## Public 成员函数
| XYValueSeries (String title)
synchronized void | add (double x, double y, double value)
synchronized void | add (double x, double y)
synchronized void | remove (int index)
synchronized void | clear ()
synchronized double | getValue (int index)
double | getMinValue ()
double | getMaxValue ()
Public 成员函数 继承自 com.ab.view.chart.XYSeries
| XYSeries (String title)
| XYSeries (String title, int scaleNumber)
int | getScaleNumber ()
String | getTitle ()
void | setTitle (String title)
synchronized void | add (double x, double y)
synchronized void | add (double x, double y, int c)
synchronized void | add (double x, double y, int c, String e)
synchronized void | remove (int index)
synchronized void | clear ()
synchronized double | getX (int index)
synchronized double | getY (int index)
synchronized SortedMap< Double, Double > | getRange (double start, double stop, int beforeAfterPoints)
int | getIndexForKey (double key)
synchronized int | getItemCount ()
double | getMinX ()
double | getMinY ()
double | getMaxX ()
double | getMaxY ()
IndexXYMap< Double, Integer > | getmXC ()
int | getmXCValue (double key)
IndexXYMap< Double, String > | getmXE ()
String | getmXEValue (double key)

## Private 成员函数
void | initRange ()
void | updateRange (double value)

## Private 属性
List< Double > | mValue = new ArrayList<Double>()
double | mMinValue = MathHelper.NULL_VALUE
double | mMaxValue = -MathHelper.NULL_VALUE

## 详细描述

An extension of the XY series which adds a third dimension. It is used for XY charts like bubble.

## 构造及析构函数说明

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

Builds a new XY value series.

参数

  title | the series title.

## 成员函数说明

synchronized void com.ab.view.chart.XYValueSeries.add | ( | double | x,
|  | double | y,
|  | double | value
| ) |  |
| inline

Adds a new value to the series.

参数

  x | the value for the X axis
  y | the value for the Y axis
  value | the value

synchronized void com.ab.view.chart.XYValueSeries.add | ( | double | x,
|  | double | y
| ) |  |
| inline

Adds a new value to the series.

参数

  x | the value for the X axis
  y | the value for the Y axis

synchronized void com.ab.view.chart.XYValueSeries.clear | ( |  | ) |
| inline

Removes all the values from the series.

double com.ab.view.chart.XYValueSeries.getMaxValue | ( |  | ) |
| inline

Returns the maximum value.

返回
  the maximum value

double com.ab.view.chart.XYValueSeries.getMinValue | ( |  | ) |
| inline

Returns the minimum value.

返回
  the minimum value

synchronized double com.ab.view.chart.XYValueSeries.getValue | ( | int | index | ) |
| inline

Returns the value at the specified index.

参数

  index | the index

返回
  the value

void com.ab.view.chart.XYValueSeries.initRange | ( |  | ) |
| inline private

Initializes the values range.

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

Removes an existing value from the series.

参数

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

void com.ab.view.chart.XYValueSeries.updateRange | ( | double | value | ) |
| inline private

Updates the values range.

参数

  value | the new value

## 类成员变量说明

double com.ab.view.chart.XYValueSeries.mMaxValue = -MathHelper.NULL_VALUE
| private

The maximum value.

double com.ab.view.chart.XYValueSeries.mMinValue = MathHelper.NULL_VALUE
| private

The minimum value.

List<Double> com.ab.view.chart.XYValueSeries.mValue = new ArrayList<Double>()
| private

A list to contain the series values.

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

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