new XUIScalePie()
Methods
-
GetData() → {Number}
-
获取数据的值
Returns:
Number -
GetMaxData() → {Number}
-
获取最大值
Returns:
Number -
GetMinData() → {Number}
-
获取最小值
Returns:
Number -
SetData(nData)
-
设置数据的值
Parameters:
Name Type Description nData
Number -
SetLinearColor(strColorStart, strColorMid, strColorEnd)
-
渐变颜色
Parameters:
Name Type Description strColorStart
String 起点渐变颜色 strColorMid
String 中间渐变颜色 strColorEnd
String 终点渐变颜色 Properties:
Name Type Description LinearColor
Collection ["0xff02f0fb","0xff7ef554","0xfffcc101"] -
SetMaxData(nData)
-
设置最大值
Parameters:
Name Type Description nData
Number -
SetMinData(nData)
-
设置最小值
Parameters:
Name Type Description nData
Number