XUIPolarBar()

new XUIPolarBar()

Methods

DelData(strName)

删除一个bar
Parameters:
Name Type Description
strName String 删除图形名称

GetData(strName)

获得一个bar
Parameters:
Name Type Description
strName String 要获得图形名称

SetAngleAxisLabelColor(strColor)

极坐标轴标签颜色
Parameters:
Name Type Description
strColor String 字体颜色
Properties:
Name Type Description
LabelColor Color "0xFF53478B"

SetAngleAxisLabelSize(nSize)

极坐标轴标签大小
Parameters:
Name Type Description
nSize Number 字体大小
Properties:
Name Type Description
AngleAxisLabelSize Number 16

SetAngleAxisLineColor(strColor)

极坐标轴线颜色
Parameters:
Name Type Description
strColor String 字体颜色
Properties:
Name Type Description
AxisLineColor Color "0xFF333333"

SetAngleAxisTickColor(strColor)

极坐标轴刻度颜色
Parameters:
Name Type Description
strColor String 字体颜色
Properties:
Name Type Description
AxisTickColor Color "0xFF333333"

SetAngleAxisTickWidth(nWidth)

极坐标轴刻度宽度
Parameters:
Name Type Description
nWidth Number 刻度宽度
Properties:
Name Type Description
AxisTickWidth Number 1

SetAngleSplitLineColor(strColor)

极坐标分隔线颜色
Parameters:
Name Type Description
strColor String 分隔线颜色
Properties:
Name Type Description
SplitLineColor Color "0xFF333333"

SetBarColor(strName, strColor)

柱状图颜色
Parameters:
Name Type Description
strName String 柱状图名称
strColor String 柱状图颜色
Properties:
Name Type Description
BarColor Collection ["A","0xFF159126"]

SetBarData(strName, nData, strData)

增加柱状图一条数据
Parameters:
Name Type Description
strName String 数据名称
nData Number 数据值
strData String 类目名称

SetClearData()

清空数据

SetLegendColor(strColor)

图例字体颜色
Parameters:
Name Type Description
strColor String 字体颜色
Properties:
Name Type Description
LegendColor Color "0xFF000000"

SetLegendFontSize(nSize)

图例字体大小
Parameters:
Name Type Description
nSize Number 字体大小
Properties:
Name Type Description
LegendFontSize Number 16

SetNewBar(arrData, strName, strStack, strLabelData)

增加一个新Bar
Parameters:
Name Type Description
arrData Array 新增图形数据
strName String 新增图形名称
strStack String 新增图形堆叠名称
strLabelData String 新增图例标签数据

SetRadiusAxisLabelColor(strColor)

径向轴标签颜色
Parameters:
Name Type Description
strColor String 字体颜色
Properties:
Name Type Description
RadiusAxisLabelColor Color "0xFF251A57"

SetRadiusAxisLabelSize(nSize)

径向轴标签大小
Parameters:
Name Type Description
nSize Number 字体大小
Properties:
Name Type Description
AdiusAxisLabelSize Number 12

SetStartAngle(nAngle)

极坐标轴起始位置
Parameters:
Name Type Description
nAngle Number 极坐标角度起始值
Properties:
Name Type Description
StartAngle Number 90