Methods
-
-
背景色
Parameters:
Name |
Type |
Description |
strColor |
String
|
背景色 |
Properties:
Name |
Type |
Description |
BgColor |
Color
|
"0xff0000ff" |
-
-
当前值
Parameters:
Name |
Type |
Description |
nData |
Number
|
数值 |
Properties:
Name |
Type |
Description |
Data |
Number
|
50 |
-
-
当前值文本颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
文本颜色 |
Properties:
Name |
Type |
Description |
CurrentValueFontColor |
Color
|
"0xff4c4e57" |
-
-
当前值文本大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
文本大小 |
Properties:
Name |
Type |
Description |
CurrentValueFontSize |
Number
|
30 |
-
-
结束值文本颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
文本颜色 |
Properties:
Name |
Type |
Description |
EndValueFontColor |
Color
|
"0xff4c4e57" |
-
-
结束值文本大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
文本大小 |
Properties:
Name |
Type |
Description |
EndValueFontSize |
Number
|
20 |
-
-
内层盘线颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
线颜色 |
Properties:
Name |
Type |
Description |
InnerLineColor |
Color
|
"0xffDCDFE5" |
-
-
内层盘刻度颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
刻度颜色 |
Properties:
Name |
Type |
Description |
InnerTickColor |
Color
|
"0xffDCDFE5" |
-
-
内层盘刻度线长
Parameters:
Name |
Type |
Description |
nLength |
Number
|
刻度线长 |
Properties:
Name |
Type |
Description |
InnerTickLength |
Number
|
5 |
-
-
指针颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
PointerColor |
Color
|
"0xffFFCD41" |
-
-
指针宽度长度
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
宽度 |
nLength |
Number
|
长度 |
Properties:
Name |
Type |
Description |
PointerSize |
Collection
|
[4, 100] |
-
-
仪表盘进度条底色
Parameters:
Name |
Type |
Description |
strColor |
String
|
进度条底色 |
Properties:
Name |
Type |
Description |
ProgressBgColor |
Color
|
"0xff111d3a" |
-
-
进度条颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
ProgressColor |
Color
|
"0xff4582ff" |
-
-
仪表盘进度条宽
Parameters:
Name |
Type |
Description |
nSize |
Number
|
进度条宽 |
Properties:
Name |
Type |
Description |
ProgressSize |
Number
|
3 |
-
-
起始值文本颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
文本颜色 |
Properties:
Name |
Type |
Description |
StartDataColor |
Color
|
"0xff4c4e57" |
-
-
起始值文本大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
文本大小 |
Properties:
Name |
Type |
Description |
StartValueFontSize |
Number
|
20 |
-
-
标题文字
Parameters:
Name |
Type |
Description |
strTitle |
String
|
标题文字 |
Properties:
Name |
Type |
Description |
Title |
String
|
"示例数据" |
-
-
标题文字颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
文字颜色 |
Properties:
Name |
Type |
Description |
TitleColor |
Color
|
"0xff8394c1" |
-
-
标题文字大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
文字大小 |
Properties:
Name |
Type |
Description |
TitleSize |
Number
|
24 |
-
-
标题文字位置
Parameters:
Name |
Type |
Description |
strXPos |
String
|
x轴的位置 |
strYPos |
String
|
y轴的位置 |
Properties:
Name |
Type |
Description |
TitlePos |
Collection
|
["3%","2%"] |
-
-
数据范围
Parameters:
Name |
Type |
Description |
nStartData |
Number
|
起点值 |
nEndData |
Number
|
终点值 |
Properties:
Name |
Type |
Description |
ValueRange |
Collection
|
[0,100] |