XUIMultiPie()

new XUIMultiPie()

Methods

AddData(strName, nDataValue, strColor, strOurRadius, strInerRadius)

增加数据
Parameters:
Name Type Description
strName String
nDataValue Number
strColor String
strOurRadius String
strInerRadius String

ChangeDataByName(strOldName, strNewName, nDataValue, strColor)

根据名称修改数据
Parameters:
Name Type Description
strOldName String
strNewName String
nDataValue Number
strColor String

RemoveDataByName(strName)

根据名称删除数据
Parameters:
Name Type Description
strName String

SetDataColorByName(strName, strColor)

根据名称设置数据字体颜色
Parameters:
Name Type Description
strName String 28
strColor String "0xffe83c48"

SetDataFontSizeByName(strName, nSize)

根据名称设置数据字体大小
Parameters:
Name Type Description
strName String 28
nSize Number 28

SetFirstDataColor(strColor)

数据一颜色
Parameters:
Name Type Description
strColor String 前景色
Properties:
Name Type Description
FirstDataColor Color "0xffe83c48"

SetFirstDataFontSize(nSize)

数据一字体大小
Parameters:
Name Type Description
nSize Number 28
Properties:
Name Type Description
FirstDataFontSize Number 28

SetInnermostCircleColor(strColor)

最内侧虚线圆颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
InnermostCircleColor Color "0xff27498f"

SetInsideCircleColor(strColor)

内侧圆颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
InsideCircleColor Color "0xff27498f"

SetMiddleCircleColor(strDownColor, strUpColor)

中间圆颜色
Parameters:
Name Type Description
strDownColor String 下层颜色
strUpColor String 上层颜色
Properties:
Name Type Description
MiddleCircleColor Collection ["0xff485065","0xff303952"]

SetMiddleCircleFillColor(strColor)

中间圆的颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
CircleFillColor Color "0xff081325"

SetMiddleText(strText)

设置中间文本
Parameters:
Name Type Description
strText String
Properties:
Name Type Description
MiddleText String "示例文本"

SetMiddleTextColor(strTextColor, strValueColor)

中间文本颜色
Parameters:
Name Type Description
strTextColor String 文本字体颜色
strValueColor String 数据字体颜色
Properties:
Name Type Description
MiddleTextColor Collection ["0xff7D8eb9","0xffffffff"]

SetMiddleTextSize(nTextSize, nValueSize)

设置中间文本的大小
Parameters:
Name Type Description
nTextSize Number 文本字体大小
nValueSize Number 数据字体大小
Properties:
Name Type Description
MiddleTextSize Collection [20,20]

SetOutermostCircleColor(strColor)

最外侧虚线圆颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
OutermostCircleColor Color "0xff303952"

SetSecondDataColor(strColor)

数据二颜色
Parameters:
Name Type Description
strColor String 前景色
Properties:
Name Type Description
SecondDataColor Color "0xffedd624"

SetSecondDataFontSize(nSize)

数据二字体大小
Parameters:
Name Type Description
nSize Number 28
Properties:
Name Type Description
SecondDataFontSize Number 28

SetStartAngle(nAngle)

起始角度
Parameters:
Name Type Description
nAngle Number
Properties:
Name Type Description
StartAngle Number 310

SetThirdDataColor(strColor)

数据三颜色
Parameters:
Name Type Description
strColor String 前景色
Properties:
Name Type Description
ThirdDataColor Color "0xff19b748"

SetThirdDataFontSize(nSize)

数据三字体大小
Parameters:
Name Type Description
nSize Number 28
Properties:
Name Type Description
ThirdDataFontSize Number 28

SetTickMarksColor(strColor)

刻度颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
TickMarksColor Color "0xff303952"