XUI3DRingPieChart()

Methods

ChangeData(array)

修改环形进度条进度
Parameters:
Name Type Description
array Array 修改数据

GetBgColor() → {String}

获取背景颜色
Returns:
String - 背景颜色

GetBgImage() → {String}

获取背景图片
Returns:
String - 背景图片路径

IsBgDrawColor() → {Boolean}

背景是否以颜色绘制
Returns:
Boolean - 是否使用颜色绘制

Render()

开始渲染

SetBgColor(strColor)

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

SetBgDrawColor(bDrawColor)

背景以颜色绘制
Parameters:
Name Type Description
bDrawColor Boolean
Properties:
Name Type Description
BgDrawColor Boolean false

SetBgImage(strImage)

设置背景图片
Parameters:
Name Type Description
strImage ImageProp
Properties:
Name Type Description
BgImagePath ImageProp ""

SetInitializationStatus()

设置初始化状态

SetRingPieCharts(array)

初始化圆形饼图
Parameters:
Name Type Description
array Array 初始化时的数据

SetSwitchState()

设置切换状态

StopRender()

停止渲染

SwitchSkin(number)

切换皮肤
Parameters:
Name Type Description
number Number 0~绿色皮肤,1~蓝色皮肤