XUIHorizontalProgress()

Methods

AddProgress()

添加进度

ChangeBgColor(strColor)

修改背景颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
BgColor String "0xff202C44"

ChangeProgressColor(nIndex, strColor)

修改进度颜色
Parameters:
Name Type Description
nIndex Number 序号
strColor String 颜色
Properties:
Name Type Description
ProgressColor Collection [0,"0xffff6f02"]

ChangeProgressHeight(strHeight)

改变进度高度
Parameters:
Name Type Description
strHeight String
Properties:
Name Type Description
ProgressHeight String "12%"

ChangeProgressTop(strTop)

改变进度间距
Parameters:
Name Type Description
strTop String
Properties:
Name Type Description
ProgressTop String "2%"

ChangeProTop(strTop)

改变进度上边距
Parameters:
Name Type Description
strTop String
Properties:
Name Type Description
ProTop String "2% 0"

DeleteProgress()

删除一组进度

SetProgressData(arrData)

改变满意度数值
Parameters:
Name Type Description
arrData Array
Properties:
Name Type Description
ProgressData Array [5,4,2,5]