Public 成员函数 | |
| 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 x, double y) |
Private 属性 | |
| String | mTitle |
| final IndexXYMap< Double, Double > | mXY = new IndexXYMap<Double, Double>() |
| final IndexXYMap< Double, Integer > | mXC = new IndexXYMap<Double, Integer>() |
| final IndexXYMap< Double, String > | mXE = new IndexXYMap<Double, String>() |
| double | mMinX = MathHelper.NULL_VALUE |
| double | mMaxX = -MathHelper.NULL_VALUE |
| double | mMinY = MathHelper.NULL_VALUE |
| double | mMaxY = -MathHelper.NULL_VALUE |
| final int | mScaleNumber |
An XY series encapsulates values for XY charts like line, time, area, scatter... charts.
|
inline |
Builds a new XY series.
| title | the series title. |
|
inline |
Builds a new XY series.
| title | the series title. |
| scaleNumber | the series scale number |
|
inline |
Adds a new value to the series.
| x | the value for the X axis |
| y | the value for the Y axis |
|
inline |
Adds the.
| x | the x |
| y | the y |
| c | the c |
|
inline |
描述:添加坐标,颜色,描述.
| x | the x |
| y | the y |
| c | the c |
| e | the e |
|
inline |
Removes all the existing values from the series.
|
inline |
Gets the index for key.
| key | the key |
|
inline |
Returns the series item count.
|
inline |
Returns the maximum value on the X axis.
|
inline |
Returns the maximum value on the Y axis.
|
inline |
Returns the minimum value on the X axis.
|
inline |
Returns the minimum value on the Y axis.
|
inline |
描述:获取颜色值.
|
inline |
描述:获取这个点的颜色值.
| key | the key |
|
inline |
描述:获取这个点的说明.
|
inline |
描述:获取值的说明.
| key | the key |
|
inline |
Returns submap of x and y values according to the given start and end.
| start | start x value |
| stop | stop x value |
| beforeAfterPoints | the before after points |
|
inline |
Gets the scale number.
|
inline |
Returns the series title.
|
inline |
Returns the X axis value at the specified index.
| index | the index |
|
inline |
Returns the Y axis value at the specified index.
| index | the index |
|
inlineprivate |
Initializes the range for both axes.
|
inline |
Removes an existing value from the series.
| index | the index in the series of the value to remove |
|
inline |
Sets the series title.
| title | the series title |
|
inlineprivate |
Updates the range on both axes.
| x | the new x value |
| y | the new y value |
|
private |
The maximum value for the X axis.
|
private |
The maximum value for the Y axis.
|
private |
The minimum value for the X axis.
|
private |
The minimum value for the Y axis.
|
private |
The scale number for this series.
|
private |
The series title.
|
private |
每个数据点的颜色值.
|
private |
每个数据点的简要 说明.
|
private |
A map to contain values for X and Y axes and index for each bundle.
1.8.8