Methods
-
-
加线
Parameters:
Name |
Type |
Description |
nYAxisIndex |
Number
|
Y轴索引 |
strName |
String
|
线名 |
strColor |
String
|
线颜色 |
strBeginColor |
String
|
起始颜色 |
strEndColor |
String
|
终止颜色 |
-
-
根据线的索引加数据
Parameters:
Name |
Type |
Description |
nLineIndex |
Number
|
索引 |
dData |
Double
|
数据 |
-
-
清空
-
-
删除一条线
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
-
-
设置控件背景颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
|
Properties:
Name |
Type |
Description |
BackgroundColor |
Color
|
"0xff09161c" |
-
-
设置背景网格线颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
背景网格线颜色 |
Properties:
Name |
Type |
Description |
GridLineColor |
Color
|
"0xff0f1623" |
-
-
背景网格线个数
Parameters:
Name |
Type |
Description |
nXCount |
Number
|
x轴上的个数 |
nYCount |
Number
|
Y轴上的个数 |
Properties:
Name |
Type |
Description |
BgGridLineCount |
Collection
|
[10, 10] |
-
-
设置线的数据
Parameters:
Name |
Type |
Description |
nLineIndex |
Number
|
索引 |
strXData |
String
|
x轴数据 |
dYData |
Double
|
y轴数据 |
-
-
根据线的索引设置数据
Parameters:
Name |
Type |
Description |
nLineIndex |
Number
|
索引 |
arrData |
Array
|
数据 |
-
-
设置x轴数据
Parameters:
Name |
Type |
Description |
arrData |
Array
|
数据 |
-
-
x轴文本颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
x轴颜色 |
Properties:
Name |
Type |
Description |
XAxisLabelColor |
Color
|
"0xff252d3c" |
-
-
设置x轴文本显示间隔
Parameters:
Name |
Type |
Description |
nInterval |
Number
|
间隔 |
Properties:
Name |
Type |
Description |
XAxisLabelInterval |
Number
|
40 |
-
-
x轴文本大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
文本大小 |
Properties:
Name |
Type |
Description |
XAxisLabelSize |
Number
|
14 |
-
-
x轴文本显示标题
Parameters:
Name |
Type |
Description |
bVisible |
Boolean
|
x轴标题 |
Properties:
Name |
Type |
Description |
XAxisLabel |
Boolean
|
true |
-
-
x轴线颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
XAxisLineColor |
Color
|
"0xff252d3c" |
-
-
x轴线宽
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
线宽 |
Properties:
Name |
Type |
Description |
XAxisLineWidth |
Number
|
1 |
-
-
x轴标题
Parameters:
Name |
Type |
Description |
strTitle |
String
|
x轴标题 |
Properties:
Name |
Type |
Description |
XAxisTitle |
String
|
"x轴" |
-
-
Y轴文本颜色
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
strColor |
String
|
x轴颜色 |
Properties:
Name |
Type |
Description |
YAxisLabelColor |
Collection
|
[0,"0xff2a4f9c"] |
-
-
Y轴文本大小
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
nSize |
Number
|
文本大小 |
Properties:
Name |
Type |
Description |
YAxisLabelSize |
Collection
|
[0,14] |
-
-
Y轴线颜色
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
YAxisLineColor |
Collection
|
[0,"0xff252d3c"] |
-
-
Y轴线宽
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
nWidth |
Number
|
线宽 |
Properties:
Name |
Type |
Description |
YAxisLineWidth |
Collection
|
[0,1] |
-
-
y轴标题
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
strTitle |
String
|
标题 |
Properties:
Name |
Type |
Description |
YAxisTitle |
Collection
|
[0,"y1"] |
-
-
y轴是否显示
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
bVisible |
Boolean
|
是否显示 |
Properties:
Name |
Type |
Description |
YAxisVisible |
Collection
|
[0,true] |
-
-
显示背景网格
Parameters:
Name |
Type |
Description |
bShowX |
Boolean
|
是否显示纵向网格 |
bShowY |
Boolean
|
是否显示横向网格 |
Properties:
Name |
Type |
Description |
ShowBgGridLine |
Collection
|
[false, true] |
-
-
设置线显示隐藏
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
线的下标 |
bShow |
Boolean
|
是否显示 |
-
-
显示Y轴刻度标记线
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
bShow |
Boolean
|
是否显示 |
Properties:
Name |
Type |
Description |
YAxisTickLine |
Boolean
|
[0,true] |