Methods
-
-
添加一项数据
Parameters:
Name |
Type |
Description |
nOneData1 |
Number
|
一项实际数据 |
nOneData2 |
Number
|
一项参考值数据 |
StrDataName |
String
|
一项数据名称 |
-
-
清除所有数据
-
-
清除一项数据
Parameters:
Name |
Type |
Description |
strDataName |
String
|
一项数据名称 |
-
-
获取所有参考值数据
Returns:
Array
-
-
获取所有实际数据
Returns:
Array
-
-
获取背景色
Returns:
String
-
-
获取参考值数据
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
内容分组下标 |
Returns:
Number
-
-
获取实际数据
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
内容分组下标 |
Returns:
Number
-
-
获取x轴颜色
Returns:
String
-
-
获取x轴文本颜色
Returns:
String
-
-
获取x轴宽度
Returns:
Number
-
-
获取y轴颜色
Returns:
String
-
-
获取y轴文本颜色
Returns:
String
-
-
获取y轴宽度
Returns:
Number
-
-
是否显示标题
Returns:
Boolean
-
-
是否显示Y轴
Returns:
Boolean
-
-
背景颜色
Parameters:
Name |
Type |
Description |
strBgColor |
String
|
背景颜色 |
Properties:
Name |
Type |
Description |
BgColor |
Color
|
"0xff0A181C" |
-
-
数据图例文字
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
内容分组下标 |
strText |
String
|
标题文字 |
Properties:
Name |
Type |
Description |
LegendText |
Collection
|
[0,"实际值"] |
-
-
数据图例文字颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
背景颜色 |
Properties:
Name |
Type |
Description |
LegendTextColor |
Color
|
"0xff0A181C" |
-
-
数据图例文字大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
标题文字大小 |
Properties:
Name |
Type |
Description |
LegendTextSize |
Number
|
20 |
-
-
显示标题
Parameters:
Name |
Type |
Description |
bVisible |
Boolean
|
是否显示 |
Properties:
Name |
Type |
Description |
ShowTitle |
Boolean
|
true |
-
-
是否显示X轴
Parameters:
Name |
Type |
Description |
bVisible |
Boolean
|
是否显示 |
Properties:
Name |
Type |
Description |
ShowX |
Boolean
|
true |
-
-
显示Y轴
Parameters:
Name |
Type |
Description |
bVisible |
Boolean
|
是否显示 |
Properties:
Name |
Type |
Description |
ShowY |
Boolean
|
true |
-
-
参考值数据
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
内容分组下标 |
nStandardData |
Number
|
内容数据 |
Properties:
Name |
Type |
Description |
StandardData |
Collection
|
[1,54] |
-
-
实际值数据
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
内容分组下标 |
nSymbolData |
Number
|
内容数据 |
Properties:
Name |
Type |
Description |
SymbolData |
Collection
|
[1,30] |
-
-
标题颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
标题颜色 |
Properties:
Name |
Type |
Description |
TitleColor |
Color
|
"0xffffffff" |
-
-
标题大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
标题文字尺寸 |
Properties:
Name |
Type |
Description |
TitleSize |
Number
|
24 |
-
-
标题文字
Parameters:
Name |
Type |
Description |
strText |
String
|
标题文字 |
Properties:
Name |
Type |
Description |
TitleText |
String
|
"对比图" |
-
-
x轴颜色
Parameters:
Name |
Type |
Description |
strXColor |
String
|
x轴颜色 |
Properties:
Name |
Type |
Description |
XColor |
Color
|
"0xff065456" |
-
-
x轴文本颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
x轴文本颜色 |
Properties:
Name |
Type |
Description |
XTextColor |
Color
|
"0xff88999C" |
-
-
x轴文本大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
x轴文本大小 |
Properties:
Name |
Type |
Description |
XTextSize |
Number
|
16 |
-
-
x轴宽度
Parameters:
Name |
Type |
Description |
nXWidth |
Number
|
x轴宽度 |
Properties:
Name |
Type |
Description |
XWidth |
Number
|
1 |
-
-
y轴颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
y轴颜色 |
Properties:
Name |
Type |
Description |
YColor |
Color
|
"0xff065456" |
-
-
y轴文本颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
y轴文本颜色 |
Properties:
Name |
Type |
Description |
YTextColor |
Color
|
"0xff859699" |
-
-
Y轴文本大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
Y轴文本大小 |
Properties:
Name |
Type |
Description |
YTextSize |
Number
|
12 |
-
-
y轴宽度
Parameters:
Name |
Type |
Description |
nYWidth |
Number
|
y轴宽度 |
Properties:
Name |
Type |
Description |
YWidth |
Number
|
1 |