XUIPolylineProgressTickSlope()

Methods

GetCtrlBgColor()

获取背景颜色

GetCtrlBgImg()

获取背景图片

GetLineWidth()

获取数据线宽

GetMaxTick()

获取最大值上限

GetSignColor()

获取标记颜色

GetSignSize()

获取标记大小

GetTickColor()

获取刻度颜色

GetTickFontSize()

获取字体大小

GetTitleText()

获取最大值上限

SetAxisLineWidth(nWidth)

轴线宽
Parameters:
Name Type Description
nWidth Number 线宽
Properties:
Name Type Description
AxisLineWidth Number 1

SetCtrlBgColor(strBgColor)

背景颜色
Parameters:
Name Type Description
strBgColor String
Properties:
Name Type Description
CtrlBgColor Color "0x00000000"

SetCtrlBgImg(strImg)

背景图片
Parameters:
Name Type Description
strImg ImageProp
Properties:
Name Type Description
CtrlBgImg ImageProp ""

SetData()

SetDrawColor(bDrawColor)

背景颜色绘制
Parameters:
Name Type Description
bDrawColor String
Properties:
Name Type Description
BgDrawColor Color true

SetLineWidth(nWidth)

数据线宽
Parameters:
Name Type Description
nWidth Number 线宽
Properties:
Name Type Description
LineWidth Number 6

SetMaxTick(nData)

刻度最大值
Parameters:
Name Type Description
nData Number 最大值
Properties:
Name Type Description
MaxTickAndFontSize Collection 2000

SetSignColor(strColor, strBorderColor)

标记颜色
Parameters:
Name Type Description
strColor String
strBorderColor String
Properties:
Name Type Description
SignColor Collection ["0xffdebe00","0xffffffff"]

SetSignSize(nRadius, nBorderSize, SignSize)

标记大小
Parameters:
Name Type Description
nRadius Number 线宽
nBorderSize Number 线宽
SignSize Collection [6,1]

SetTextTipSize(nWidth, nHeight, nLength)

文本框大小接口
Parameters:
Name Type Description
nWidth Number 宽度
nHeight Number 高度
nLength Number 斜边长度

SetTickColor(strColor)

刻度颜色
Parameters:
Name Type Description
strColor String 线宽
Properties:
Name Type Description
SetTickColor Color "0xffffffff"

SetTickFontSize(nSize)

刻度字体大小
Parameters:
Name Type Description
nSize Number 字体大小
Properties:
Name Type Description
TickFontSize Number 16

SetTitleText(strText)

文本框标题
Parameters:
Name Type Description
strText String 标题
Properties:
Name Type Description
TitleText String "保障人员总数"