XUIMultipleBar()

Methods

CleanData()

清空数据

SetBackgroundColor(strColor)

设置背景色
Parameters:
Name Type Description
strColor String 背景色
Properties:
Name Type Description
BgColor Color "0xff09225B"

SetDataByIndex(nIndex, arrData)

按索引设置每组的数据
Parameters:
Name Type Description
nIndex Number 索引0~4
arrData Array 具体个数根据x轴个数来定

SetXaxisLab(arrLab)

设置X轴名称
Parameters:
Name Type Description
arrLab Array
Properties:
Name Type Description
XaxisLab Array ["周一","周二","周三","周四","周五","周六","周日"]