new XUIBloodOxygenSaturationLine()
Methods
-
AddData(arrValue)
-
增加数据
Parameters:
Name Type Description arrValue
Array 数据 -
DeleteAllData()
-
删除所有数据
-
DeleteDataByIndex(nIndex)
-
删除一个数据
Parameters:
Name Type Description nIndex
Number 数据下标 -
GetAllData() → {Array}
-
查询所有数据
Returns:
Array - 所有数据 -
GetDataByIndex(nIndex) → {Number}
-
查询一个数据
Parameters:
Name Type Description nIndex
Number 数据下标 Returns:
Number - 一个数据 -
SetLineAreaColor(strColor1, strColor2)
-
设置渐变色
Parameters:
Name Type Description strColor1
String 区域填充色 strColor2
String 区域填充色 Properties:
Name Type Description LineAreaColor
Collection ["0xffffffff","0xff96784c"] -
SetLineDataByIndex(nIndex, nValue)
-
通过下标修改数据
Parameters:
Name Type Description nIndex
Number 下标 nValue
Number 数据 Properties:
Name Type Description LineDataByIndex
Collection [0,93] -
SetSeriesLineData(arrLineData)
-
修改折线图数据
Parameters:
Name Type Description arrLineData
Array 数据 Properties:
Name Type Description SeriesLineData
Array [93,95,98,96,94,93,95,98,96,94,93,95,98,96,94,93,95,98,96,94] -
SetXAxisData(arrXAxisData)
-
修改x轴坐标
Parameters:
Name Type Description arrXAxisData
Array 数据 Properties:
Name Type Description arrXAxisData
Array ["8:00","9:00","10:00","11:00","12:00","13:00"]