new XUIConcentrationBarLine()
Methods
-
AddDataArr(strCategory, arrValue)
-
设置数据
Parameters:
Name Type Description strCategory
String 数据类别 arrValue
Array 数值 -
AddLineByName(strName)
-
添加折线
Parameters:
Name Type Description strName
String 折线名称 Properties:
Name Type Description LineName
String "firstLine" -
AddPictorialBarByName(strName)
-
添加异型柱状图
Parameters:
Name Type Description strName
String 柱状图名称 Properties:
Name Type Description BarName
String "firstBar" -
AddXAxisLableData(strLabel)
-
添加x轴数据
Parameters:
Name Type Description strLabel
String 标签数据 -
RemoveAllLine()
-
清空所有线
-
RemoveAllPictorialBar()
-
清空所有异型柱状图
-
RemoveXAxisLableData()
-
清空x轴数据
-
SetHydrogenData(strHydrogenData)
-
设置硫化氢浓度平均值
Parameters:
Name Type Description strHydrogenData
String 硫化氢浓度 -
SetMethaneData(strMethaneData)
-
设置甲烷浓度平均值
Parameters:
Name Type Description strMethaneData
String 甲烷浓度值 -
SetXAxisLabelInterval(NumValue)
-
设置x轴类别显示间隔
Parameters:
Name Type Description NumValue
Number 数值 Properties:
Name Type Description IntervalValue
Number 14 -
SetXAxisLableData(ArrLabel)
-
设置x轴数据
Parameters:
Name Type Description ArrLabel
Array 标签数据 Properties:
Name Type Description XAxisLableDatas
Array ["12:00","12:01","12:02"]