Methods
-
-
获取数据
Returns:
Number
- 数据
-
-
获取进度底色
Returns:
String
- 进度底色
-
-
获取进度颜色
Returns:
String
- 进度颜色
-
-
设置仪表盘轴线颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
轴线颜色 |
Properties:
Name |
Type |
Description |
GaugeAxisLineColor |
Color
|
"0xffFCFC01" |
-
-
设置仪表盘轴线宽度
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
轴线宽度 |
Properties:
Name |
Type |
Description |
GaugeAxisLineWidth |
Number
|
4 |
-
-
设置仪表盘数字颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
表盘数字颜色 |
Properties:
Name |
Type |
Description |
GaugeDetailColor |
Color
|
"0xffFFFFFF" |
-
-
设置仪表盘数字字体大小
Parameters:
Name |
Type |
Description |
nFontSize |
Number
|
数字字体大小 |
Properties:
Name |
Type |
Description |
GaugeDetailFontSize |
Number
|
28 |
-
-
设置仪表盘文字内容
Parameters:
Name |
Type |
Description |
strName |
String
|
表盘文字内容 |
Properties:
Name |
Type |
Description |
GaugeNameContent |
String
|
"时间可利用率" |
-
-
设置进度
Parameters:
Name |
Type |
Description |
nData |
Number
|
进度 |
Properties:
Name |
Type |
Description |
GaugeProgress |
Number
|
40 |
-
-
设置仪表盘半径
Parameters:
Name |
Type |
Description |
strRadius |
String
|
半径 |
Properties:
Name |
Type |
Description |
GaugeRadius |
String
|
"95%" |
-
-
设置仪表盘分割线颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
分割线颜色 |
Properties:
Name |
Type |
Description |
GaugeSplitLineColor |
Color
|
"0xff0C192B" |
-
-
设置仪表盘分割线长度
Parameters:
Name |
Type |
Description |
nLength |
Number
|
分割线长度 |
Properties:
Name |
Type |
Description |
GaugeSplitLineLength |
Number
|
4 |
-
-
设置仪表盘分割线宽度
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
分割线宽度 |
Properties:
Name |
Type |
Description |
GaugeSplitLineWidth |
Number
|
1.5 |
-
-
设置仪表盘分割段数
Parameters:
Name |
Type |
Description |
nSplitNumber |
Number
|
分割段数 |
Properties:
Name |
Type |
Description |
GaugeSplitNumber |
Number
|
50 |
-
-
设置仪表盘文字颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
表盘文字颜色 |
Properties:
Name |
Type |
Description |
GaugeTitleColor |
Color
|
"0xffDBE6FF" |
-
-
设置仪表盘数字内容
Parameters:
Name |
Type |
Description |
nValue |
Number
|
表盘数字内容 |
Properties:
Name |
Type |
Description |
GaugeValueContent |
Number
|
40 |
-
-
设置进度颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
进度颜色 |
Properties:
Name |
Type |
Description |
ProgressColor |
Color
|
"0xff1F2B48" |