new XUIProductionStatistics()
Methods
-
SetData(nNum, maxNum)
-
设置数据最大值和当前数值
Parameters:
Name Type Description nNum
Number 数值 maxNum
Number 最大值 Properties:
Name Type Description maxNum
Collection [1000,1200] -
SetImg(strimages)
-
设置切换背景图
Parameters:
Name Type Description strimages
ImageProp 图片路径 Properties:
Name Type Description strimages
ImageProp "common_2dChart/XUIProductionStatistics/img/2017scjyqktj_kg_shuju2.png" -
SetImgHeight(strImgHeight)
-
设置统计图原始高度
Parameters:
Name Type Description strImgHeight
String 统计图原始高度 Properties:
Name Type Description strImgHeight
String "160px" -
SetImgWidth(strImgWidth)
-
设置统计图原始宽度
Parameters:
Name Type Description strImgWidth
String 统计图原始宽度 Properties:
Name Type Description strImgWidth
String "70px" -
SetNumberColor(strNumberColor)
-
设置数字颜色
Parameters:
Name Type Description strNumberColor
String 数字颜色 Properties:
Name Type Description NumberColor
Color "oxffF9F33D" -
SetNumberSize(strNumberSize)
-
设置数字大小
Parameters:
Name Type Description strNumberSize
String 数字大小 Properties:
Name Type Description strNumberSize
String "22px"