XUIEnergySystem()

Methods

AddData()

// * 增加一组数据 // * @param {String} strData 数据内容 //

Animation1()

传入随机数据

RemoveData(nIndex)

删除一组数据
Parameters:
Name Type Description
nIndex Number 下标

SetAxisLineColor(strColor)

设置坐标轴线颜色
Parameters:
Name Type Description
strColor String 轴线颜色
Properties:
Name Type Description
AxisLineColor Color "0xff9092A5"

SetAxisName(arrName)

设置坐标轴名称
Parameters:
Name Type Description
arrName Array 坐标轴名称
Properties:
Name Type Description
AxisName Array ["Dec","Ncw","Oct","Sep","Aug","JuL","Aun","Mry","Apr","Mar","Feb","Jan"]

SetAxisNameByIndex(nIndex, strName)

设置据下标更改坐标轴名称
Parameters:
Name Type Description
nIndex Number 下标
strName String 坐标轴名称
Properties:
Name Type Description
AxisNameByIndex Collection [0,"Dec"]

SetAxisNameColor(strColor)

设置坐标轴名字颜色
Parameters:
Name Type Description
strColor String 名字颜色
Properties:
Name Type Description
AxisNameColor Color "0xff9F9FA3"

SetAxisNameSize(nSize)

设置坐标轴名字大小
Parameters:
Name Type Description
nSize Number 名字大小
Properties:
Name Type Description
AxisNameSize Number 7

SetRadarLineColor(nIndex, strColor1, strColor2)

设置雷达线颜色
Parameters:
Name Type Description
nIndex Number 下标
strColor1 String 0% 处的颜色
strColor2 String 100% 处的颜色
Properties:
Name Type Description
RadarLineColor Collection [0,"0xffF54D3E","0xffF72917"]

SetRadarLineOpacity(nOpacity)

设置雷达线透明度
Parameters:
Name Type Description
nOpacity Number 线透明度
Properties:
Name Type Description
RadarLineOpacity Number 0.7

SetRadarLineWidth(nWidth)

设置雷达线宽度
Parameters:
Name Type Description
nWidth Number 线宽
Properties:
Name Type Description
RadarLineWidth Number 0.6