Public 成员函数 | |
| AbLevelChart (AbLevelSeriesDataset mDataset, AbLevelSeriesRenderer mRenderer) | |
| void | draw (Canvas canvas, int x, int y, int measureWidth, int measureHeight, int screenWidth, int screenHeight, Paint paint) |
| int | getWidth () |
| int | getHeight () |
Public 成员函数 继承自 com.ab.view.level.AbLevelAbstractChart | |
| abstract void | draw (Canvas canvas, int x, int y, int measureWidth, int measureHeight, int screenWidth, int screenHeight, Paint paint) |
Protected 成员函数 | |
| AbLevelChart () | |
| void | setDatasetRenderer (AbLevelSeriesDataset dataset, AbLevelSeriesRenderer renderer) |
Protected 属性 | |
| AbLevelSeriesDataset | mDataset |
| AbLevelSeriesRenderer | mRenderer |
Private 属性 | |
| int | measureWidth |
| int | measureHeight |
| int[] | color = null |
| float[] | part = null |
| float[] | partValue = null |
| String | textValue = null |
| String | textDesc = null |
| int | textlevelIndex = 0 |
| int | textLevelSize = 30 |
| int | marginTop = 30 |
| int | arrowWidth = 20 |
| int | arrowHeight = 10 |
| int | levelHeight = 20 |
| int | arrowMarginTop = 10 |
| int | partTextSize = 15 |
| int | textDescSize = 22 |
静态 Private 属性 | |
| static final long | serialVersionUID = 1L |
The Class AbLevelChart.
|
inlineprotected |
Instantiates a new ab level chart.
|
inline |
Instantiates a new ab level chart.
| mDataset | the m dataset |
| mRenderer | the m renderer |
|
inline |
描述:绘制.
| canvas | the canvas |
| x | the x |
| y | the y |
| measureWidth | the measure width |
| measureHeight | the measure height |
| screenWidth | the screen width |
| screenHeight | the screen height |
| paint | the paint |
|
inline |
Gets the height.
|
inline |
Gets the width.
|
inlineprotected |
Sets the dataset renderer.
| dataset | the dataset |
| renderer | the renderer |
|
private |
指示三角形的高度.
|
private |
指示三角形与其他间距.
|
private |
指示三角形的宽度.
|
private |
各等级段的颜色.
|
private |
等级条的高度.
|
private |
当前值文字与顶部的距离.
|
protected |
The m dataset.
|
private |
等级图形的高.
|
private |
等级图形的宽.
|
protected |
The m renderer.
|
private |
假如 每段的百分比 2 3 2 1 1 1.
|
private |
等级坐标文字大小.
|
private |
各等级段的值.
|
staticprivate |
The Constant serialVersionUID.
|
private |
当前值描述.
|
private |
等级说明文字大小.
|
private |
当前值的等级.
|
private |
当前值文字大小.
|
private |
当前值.
1.8.8