new XUIFanMoreBar()
Methods
-
animationChange()
-
数据改变动画
-
SetBarColor(strColor1, strColor2, strColor3)
-
设置柱体颜色
Parameters:
Name Type Description strColor1
String 柱体颜色1 strColor2
String 柱体颜色2 strColor3
String 柱体颜色3 Properties:
Name Type Description BarColor
Collection ["0xff1861BF","0xff285AAD","0xff2F77AC"] -
SetCircleColor(strColor)
-
设置圆点颜色
Parameters:
Name Type Description strColor
String 圆点颜色 Properties:
Name Type Description CircleColor
Color "0xff3DB9F4" -
SetCircleDistance(nDistance)
-
设置圆点离图形距离
Parameters:
Name Type Description nDistance
Number 离图形距离 Properties:
Name Type Description CircleDistance
Number 4 -
SetCircleSize(nSize)
-
设置圆点大小
Parameters:
Name Type Description nSize
Number 圆点大小 Properties:
Name Type Description CircleSize
Number 0.8 -
SetLegendIconSize(nWidth, nHeight)
-
设置图标大小
Parameters:
Name Type Description nWidth
Number 宽度 nHeight
Number 高度 Properties:
Name Type Description LegendIconSize
Collection [28,28] -
SetLegendPosition(nIndex, strTop, strLeft)
-
设置图例位置
Parameters:
Name Type Description nIndex
Number 下标 strTop
String 垂直位置 strLeft
String 水平位置 Properties:
Name Type Description LegendPosition
Collection [0,"2%","2%"] -
SetLegendTextColor(nIndex, strColor)
-
设置图例文字颜色
Parameters:
Name Type Description nIndex
Number 下标 strColor
String 文字颜色 Properties:
Name Type Description LegendTextColor
Collection [0,"0xffC9CDEA"] -
SetLegendTextSize(nIndex, nSize)
-
设置图例文字大小
Parameters:
Name Type Description nIndex
Number 下标 nSize
Number 字体大小 Properties:
Name Type Description LegendTextSize
Collection [0,16]