Methods
-
AddLinePercent(strName, arr, strSymbol, nSymboSize, StrStartColor, StrEndColor, strLineColor, strIconImg)
-
添加百分比的线
Parameters:
Name |
Type |
Description |
strName |
String
|
线名 |
arr |
Array
|
数据 |
strSymbol |
String
|
线上图标样式 |
nSymboSize |
Number
|
图标大小 |
StrStartColor |
String
|
起始颜色 |
StrEndColor |
String
|
结束颜色 |
strLineColor |
String
|
线颜色 |
strIconImg |
String
|
图例图片 |
-
AddLineValue(strName, arr, strSymbol, nSymboSize, StrStartColor, StrEndColor, strLineColor, strIconImg)
-
添加数值线
Parameters:
Name |
Type |
Description |
strName |
String
|
线名 |
arr |
Array
|
数据 |
strSymbol |
String
|
线上图标样式 |
nSymboSize |
Number
|
图标大小 |
StrStartColor |
String
|
起始颜色 |
StrEndColor |
String
|
结束颜色 |
strLineColor |
String
|
线颜色 |
strIconImg |
String
|
图例图片 |
-
-
清除所有
-
-
清除数据
-
-
清除x轴
-
-
通过序号获取数据
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
序号 |
Returns:
Array
-
-
设置背景颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
|
Properties:
Name |
Type |
Description |
BackgroundColor |
Color
|
"0xff222939" |
-
-
通过序号修改数据
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
序号 |
arr |
Array
|
数据 |
-
-
设置显示范围
Parameters:
Name |
Type |
Description |
nStartValue |
Number
|
起始值 |
nEndValue |
Number
|
结束值 |
Properties:
Name |
Type |
Description |
DataZommRange |
Collection
|
[0,6] |
-
-
通过x轴索引设置选中项
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
x轴文本 |
Properties:
Name |
Type |
Description |
SelectedByXIndex |
Number
|
7 |
-
-
通过x轴文本设置选中项
Parameters:
Name |
Type |
Description |
strXLabel |
String
|
x轴文本 |
-
-
设置x轴文本
Parameters:
Name |
Type |
Description |
arrLabel |
Array
|
数组 |