new XUIBasicData()
Methods
-
SetHeatBarColor(strColor0, strColor1, strColor2, strColor3, strColor4, strColor5, strColor6, strColor7, strColor8, strColor9)
-
设置单个或多个热量柱状图颜色
Parameters:
Name Type Description strColor0
String 颜色0 strColor1
String 颜色1 strColor2
String 颜色2 strColor3
String 颜色3 strColor4
String 颜色4 strColor5
String 颜色5 strColor6
String 颜色6 strColor7
String 颜色7 strColor8
String 颜色8 strColor9
String 颜色9 Properties:
Name Type Description HeatBarColor
Collection ["0xff2F77AC","0xff2EB699","0xff2EB699","0xff2EB699","0xff2EB699","0xff2EB699","0xff2EB699","0xff2EB699","0xff2EB699","0xff2EB699"] -
SetHeatData(hData)
-
设置热量数据
Parameters:
Name Type Description hData
Array 热量 Properties:
Name Type Description hData
Array [660, 1190, 1520, 1399, 580, 1696, 720, 1510, 1211, 1120] -
SetWeightData(wData)
-
设置体重数据
Parameters:
Name Type Description wData
Array 体重 Properties:
Name Type Description wData
Array [70, 68, 75, 72, 69, 72, 70, 65, 70, 73]