XUIStackedBarChart()

Methods

SetBackgroundColor(strColor)

设定背景颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
BackgroundColor Color "0xff222222"

SetBarBackColor(strColor)

设置进度条底框的颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
BarBackColor Color "0xff414648"

SetBarBackWidth(nbarWidth)

设置进度条底部的宽度
Parameters:
Name Type Description
nbarWidth Number
Properties:
Name Type Description
BackWidth Number 12

SetBarColor(strColor1, strColor2, strColor3, strColor4)

设置柱状图的颜色
Parameters:
Name Type Description
strColor1 String 分类一颜色值
strColor2 String 分类二颜色值
strColor3 String 分类三颜色值
strColor4 String 分类四颜色值
Properties:
Name Type Description
BarColor Collection ["0xff02EFFF","0xffFFF56E","0xff00FFB1","0xff00A9FF"]

SetBgBarColor(strColor1, strColor2, strColor3)

设定进度条上层块颜色
Parameters:
Name Type Description
strColor1 String 颜色值1
strColor2 String 颜色值2
strColor3 String 颜色值3
Properties:
Name Type Description
BgBarColor Collection ["0xff48A3FF","0xff77ED4D","0xffFFE822"]

SetLegendColor(strColor)

设置图列字体颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
LegendColor Color "0xff8394C1"

SetLegendFontSize(nFontSize)

设置图列字体的大小
Parameters:
Name Type Description
nFontSize Number
Properties:
Name Type Description
LegendFontSize Number 15

SetLengthIconShape(strShape)

设置图列icon形状
Parameters:
Name Type Description
strShape String
Properties:
Name Type Description
LengthIconShape Combo ["circle","rect","roundRect"]

SetLogisticsData(nValue1, nValue2, nValue3)

修改分类三的数据
Parameters:
Name Type Description
nValue1 Number 示例数据1
nValue2 Number 示例数据2
nValue3 Number 示例数据3
Properties:
Name Type Description
LogisticsData Collection [24,27,18]

SetMissionData(nValue1, nValue2, nValue3)

修改分类四的数据
Parameters:
Name Type Description
nValue1 Number 示例数据1
nValue2 Number 示例数据2
nValue3 Number 示例数据3
Properties:
Name Type Description
MissionData Collection [24,24,18]

SetOutBarWidth(nbarWidth)

设置外框的宽度
Parameters:
Name Type Description
nbarWidth Number
Properties:
Name Type Description
OutBarWidth Number 12

SetOutBorderColor(strColor)

设置外框的颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
OutBorderColor Color "0xff414648"

SetResourcesData(nValue1, nValue2, nValue3)

修改分类二的数据
Parameters:
Name Type Description
nValue1 Number 示例数据1
nValue2 Number 示例数据2
nValue3 Number 示例数据3
Properties:
Name Type Description
ResourcesData Collection [25,25,25]

SetScatterColor(strColor1, strColor2, strColor3, strColor4)

设置散点的颜色
Parameters:
Name Type Description
strColor1 String 分类一颜色值
strColor2 String 分类二颜色值
strColor3 String 分类三颜色值
strColor4 String 分类四颜色值
Properties:
Name Type Description
ScatterColor Collection ["0xff02EFFF","0xffFFF56E","0xff00FFB1","0xff00A9FF"]

SetScatterSize(nSize)

设置散点的大小
Parameters:
Name Type Description
nSize Number
Properties:
Name Type Description
ScatterSize Number 10

SetSparesData(nValue1, nValue2, nValue3)

修改分类一的数据
Parameters:
Name Type Description
nValue1 Number 示例数据1
nValue2 Number 示例数据2
nValue3 Number 示例数据3
Properties:
Name Type Description
SparesData Collection [10,15,10]

SetYaxisCont(strCont1, strCont2, strCont3)

设置Y轴的内容
Parameters:
Name Type Description
strCont1 String 示例文本1
strCont2 String 示例文本2
strCont3 String 示例文本3
Properties:
Name Type Description
YaxisCont Collection ["示例1", "示例2", "示例3"]

SetYAxisFontColor(strColor)

设置Y轴上的字体的颜色
Parameters:
Name Type Description
strColor String
Properties:
Name Type Description
YAxisFontColor Color "0xff8394c1"

SetYAxisFontSize(nFontsize)

设置Y轴上的字体的大小
Parameters:
Name Type Description
nFontsize Number
Properties:
Name Type Description
YAxisFontSize Number 24

WhetherShowYaxis(bShow)

是否显示Y轴
Parameters:
Name Type Description
bShow Boolean
Properties:
Name Type Description
ShowYaxis Boolean true