new XUIPolylineProgressBar()
Methods
-
GetData() → {Number}
-
获取数据
Returns:
Number -
GetLineWidth() → {Number}
-
获取线宽
Returns:
Number -
GetMaxValue() → {Number}
-
获取最大值
Returns:
Number -
GetRadius() → {Number}
-
获取半径
Returns:
Number -
SeOneprogressLineColor(strColor1, strColor2)
-
一段数据进度线色
Parameters:
Name Type Description strColor1
String 颜色1 strColor2
String 颜色2 Properties:
Name Type Description OneprogressLineColor
Collection ["0xff00FEC3","0xff23F4A1"] -
SetBotAxisColor(strColor)
-
下方长刻度轴颜色
Parameters:
Name Type Description strColor
String 刻度轴颜色 Properties:
Name Type Description BotAxisColor
Color "0x5fa818ca8" -
SetBotFontSize(nValue)
-
下方字体大小
Parameters:
Name Type Description nValue
Number 字体大小 Properties:
Name Type Description BotFontSize
Number 20 -
SetData(nValue)
-
数据
Parameters:
Name Type Description nValue
Number 数据值 -
SetLeftAxisColor(strColor)
-
左方长刻度轴颜色
Parameters:
Name Type Description strColor
String 刻度轴颜色 Properties:
Name Type Description LeftAxisColor
Color "0x5fa818ca8" -
SetLeftFontSize(nValue)
-
左方字体大小
Parameters:
Name Type Description nValue
Number 字体大小 Properties:
Name Type Description LeftFontSize
Number 20 -
SetLineWidth(nWidth)
-
线宽
Parameters:
Name Type Description nWidth
Number 线宽 Properties:
Name Type Description LineWidth
Number 4 -
SetMaxValue(nValue)
-
最大值
Parameters:
Name Type Description nValue
Number 最大值 Properties:
Name Type Description MaxValue
Number 200 -
SetRadius(nRadius)
-
半径
Parameters:
Name Type Description nRadius
Number 半径 Properties:
Name Type Description Radius
Number 8 -
SetSymbolColor(strColor1, strColor2)
-
圆点颜色
Parameters:
Name Type Description strColor1
String 圆点颜色 strColor2
String 圆框颜色 Properties:
Name Type Description botSymbolColor
Collection ["0xffDEBE00","0xffffffff"] -
SetThreeprogressLineColor(strColor1, strColor2)
-
三段数据进度线色
Parameters:
Name Type Description strColor1
String 颜色1 strColor2
String 颜色2 Properties:
Name Type Description ThreeprogressLineColor
Collection ["0xff00FEC3","0xff23F4A1"] -
SetTopAxisColor(strColor)
-
上方长刻度轴颜色
Parameters:
Name Type Description strColor
String 刻度轴颜色 Properties:
Name Type Description TopAxisColor
Color "0x5fa818ca8" -
SetTopFontSize(nValue)
-
上方字体大小
Parameters:
Name Type Description nValue
Number 字体大小 Properties:
Name Type Description TopFontSize
Number 20 -
SeTwoprogressLineColor(strColor1, strColor2)
-
二段数据进度线色
Parameters:
Name Type Description strColor1
String 颜色1 strColor2
String 颜色2 Properties:
Name Type Description TwoprogressLineColor
Collection ["0xff00FEC3","0xff23F4A1"]