XUIVerticalProgress()

Methods

AddProgress()

添加进度

ChangeBgColor(strColor)

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

ChangeNumberColor(strColor)

修改数字颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
NumberColor String "0xff000000"

ChangeNumberSize(strSize)

修改数字大小
Parameters:
Name Type Description
strSize String
Properties:
Name Type Description
NumberSize String "4px"

ChangeProBarHeight(strHeight)

修改进度块的高度
Parameters:
Name Type Description
strHeight String
Properties:
Name Type Description
ProBarHeight String "8.4%"

ChangeProBarTop(strTop)

修改进度块的上边距
Parameters:
Name Type Description
strTop String
Properties:
Name Type Description
ProBarTop String "15%"

ChangeProgressColor(nIndex, strColor)

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

ChangeProgressLeft(strLeft)

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

ChangeProgressTextColor(strColor)

修改文本的颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
ProgressTextColor String "0xff000000"

ChangeProgressWidth(strWidth)

改变进度宽度
Parameters:
Name Type Description
strWidth String
Properties:
Name Type Description
ProgressWidth String "10%"

ChangeProHeight(strHeight)

修改进度条的高度
Parameters:
Name Type Description
strHeight String
Properties:
Name Type Description
ProHeight String "95%"

ChangeProLeft(strLeft)

修改进度条左边距
Parameters:
Name Type Description
strLeft String
Properties:
Name Type Description
ProLeft String "30%"

ChangeProTop(strTop)

修改进度条上边距
Parameters:
Name Type Description
strTop String
Properties:
Name Type Description
ProTop String "9%"

ChangeProWidth(strWidth)

修改进度条的宽度
Parameters:
Name Type Description
strWidth String
Properties:
Name Type Description
ProWidth String "65%"

ChangeText(nIndex, strText)

修改文本内容
Parameters:
Name Type Description
nIndex Number 序号
strText String 文本
Properties:
Name Type Description
Text Collection [0,"街道"]

ChangeTextColor(strColor)

修改文本颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
TextColor String "0xff000000"

ChangeTextColorByIndex(nIndex, strColor)

根据索引修改文本颜色
Parameters:
Name Type Description
nIndex Number 序号
strColor String 颜色
Properties:
Name Type Description
TextColorByIndex Collection [0,"0xff000000"]

ChangeTextSize(nTextSize)

修改文本大小
Parameters:
Name Type Description
nTextSize Number
Properties:
Name Type Description
ProgressText Number 4

ChangeTextSizeByIndex(nIndex, nTextSize)

根据索引修改文本大小
Parameters:
Name Type Description
nIndex Number 序号
nTextSize Number 文本大小
Properties:
Name Type Description
TextSizeByIndex Collection [0,4]

DeleteProgress()

删除一组进度

SetProgressData(arrData)

改变满意度数值
Parameters:
Name Type Description
arrData Array
Properties:
Name Type Description
ProgressData Array [6,5,7,9,5,2,8,1]