XUIPerformanceRadar()

Methods

AddData(nValue, strName)

增加一个数据
Parameters:
Name Type Description
nValue Number 数据值
strName String 名称

DeleteData(nIndex)

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

DeleteDataAll()

删除全部数据

GetDataByIndex(nIndex) → {Number}

获取一组数据
Parameters:
Name Type Description
nIndex Number 索引
Returns:
Number - 数据

Radaranimation()

智能汽车系统综述动画接口

SetAxisMaxValue(nValue)

设置坐标轴最大值
Parameters:
Name Type Description
nValue Number 最大值
Properties:
Name Type Description
AxisMaxValue Number 100

SetAxisNameColor(strColor)

设置轴名颜色
Parameters:
Name Type Description
strColor String 轴名颜色
Properties:
Name Type Description
AxisNameColor Color "0xff808A9A"

SetAxisNameRichColor(strColor)

设置轴名富文本颜色
Parameters:
Name Type Description
strColor String 富文本颜色
Properties:
Name Type Description
AxisNameRichColor Color "0xffFFFFFF"

SetAxisNameSize(nSize)

设置轴名大小
Parameters:
Name Type Description
nSize Number 轴名大小
Properties:
Name Type Description
AxisNameSize Number 12

SetDataByIndex(nIndex, nData)

修改一组数据
Parameters:
Name Type Description
nIndex Number 索引
nData Number 雷达图数据
Properties:
Name Type Description
DataByIndex Collection [0,60]

SetRadarAreaColorOpacity(dOpacity)

区域填充色透明度
Parameters:
Name Type Description
dOpacity Double 透明度
Properties:
Name Type Description
RadarAreaColorOpacity Double 0.3

SetRadarAreaStyle(strColor)

设置雷达图区域填充色
Parameters:
Name Type Description
strColor String 区域填充色
Properties:
Name Type Description
RadarAreaStyle Color "0xff9F751A"

SetRadarAxisLineColor(strColor)

设置雷达坐标轴线颜色
Parameters:
Name Type Description
strColor String 轴线颜色
Properties:
Name Type Description
RadarAxisLineColor Color "0xff727C8C"

SetRadarAxisSplitLineColor(strColor)

设置雷达坐标分隔线颜色
Parameters:
Name Type Description
strColor String 分隔线颜色
Properties:
Name Type Description
RadarAxisSplitLineColor Color "0xff727C8C"

SetRadarAxisSymbolSize(nSize)

设置雷达坐标系拐点大小
Parameters:
Name Type Description
nSize Number 拐点大小
Properties:
Name Type Description
RadarAxisSymbolSize Number 5

SetRadarData(arrData)

设置雷达图数据
Parameters:
Name Type Description
arrData Array 雷达图数据
Properties:
Name Type Description
RadarData Array [60,90,60,80,58,72]

SetRadarItemStyle(strColor)

设置雷达图拐点颜色
Parameters:
Name Type Description
strColor String 拐点颜色
Properties:
Name Type Description
RadarItemStyle Color "0xffFFBB00"

SetRadarLineStyle(strColor)

设置雷达图线条颜色
Parameters:
Name Type Description
strColor String 线条颜色
Properties:
Name Type Description
RadarLineStyle Color "0xffFFBB00"

SetRadarLineWidth(dWidth)

设置雷达图线条宽度
Parameters:
Name Type Description
dWidth Double 线条宽度
Properties:
Name Type Description
RadarLineWidth Double 1.5

SetRadarSymbolSize(nSize)

设置雷达图圆点大小
Parameters:
Name Type Description
nSize Number 圆点大小
Properties:
Name Type Description
RadarSymbolSize Number 6