/**
* @constructor
*/
function XUIProgressBar() {
}
XUIProgressBar.prototype = {
//组件
/**
"Gauge1":{
"title":"仪表盘1",
"name":"Gauge1",
"type":"PUIGaugeInterface",
"index":0
}*/
/**
"Gauge2":{
"title":"仪表盘2",
"name":"Gauge2",
"type":"PUIGaugeInterface",
"index":1
}*/
/**
"Gauge3":{
"title":"仪表盘3",
"name":"Gauge3",
"type":"PUIGaugeInterface",
"index":2
}*/
/**
"Pie1":{
"title":"饼图1",
"name":"bgpie1",
"type":"PUIPieInterface",
"index":3
}*/
/**
"Pie2":{
"title":"饼图2",
"name":"realvalue2",
"type":"PUIPieInterface",
"index":4
}*/
/**
"GraphicText1":{
"title":"操作行为1",
"name":"GraphicText1",
"type":"PUIGraphicTextInterface",
"index":0
}*/
/**
"GraphicText2":{
"title":"操作行为2",
"name":"GraphicText2",
"type":"PUIGraphicTextInterface",
"index":1
}*/
/**
"GraphicText3":{
"title":"操作行为3",
"name":"GraphicText3",
"type":"PUIGraphicTextInterface",
"index":2
}*/
/**
"GraphicText4":{
"title":"操作行为4",
"name":"GraphicText4",
"type":"PUIGraphicTextInterface",
"index":3
}*/
/**
"GraphicText4":{
"title":"操作行为4",
"name":"data4",
"type":"PUIGraphicTextInterface",
"index":5
}*/
/**
"GraphicImage":{
"title":"图片",
"name":"GraphicImage",
"type":"PUIGraphicTextInterface",
"index":4
}*/
//接口
/**
* 背景颜色
* @param {String} strColor 颜色
* @property {Color} BgColor ""
*/
SetBgColor:function (strColor) {
},
/**
* 刻度线长度
* @param {Number} nLength 刻度线长度
* @property {Number} ScaleMarkLength 5
*/
SetScaleMarkLength:function (nLength) {
},
/**
* 进度条起始结束角度
* @param {Number} nStartAngle 起始角度
* @param {Number} nEndAngle 结束角度
* @property {Collection} StartAngle [180,-90]
*/
SetStartAndEndAngle:function (nStartAngle,nEndAngle) {
},
/**
* 图标
* @param {ImageProp} strImg 图标路径
* @property {ImageProp} IconImage "common_2dChart/XUIProgressBar/images/icon_riqi.png"
*/
SetIconImage:function (strImg) {
},
/**
* 刻度最小值和最大值
* @param {Number} nMin 最小值
* @param {Number} nMax 最大值
* @property {Collection} ValueRange [0,200]
*/
SetValueRange:function (nMin,nMax) {
},
/**
* 最大值和最小值颜色
* @param {String} strColor 颜色
* @property {Color} MinAndMaxColor "0xff8394c1"
*/
SetMinAndMaxColor:function (strColor) {
},
/**
* 提示文本
* @param {String} strBeginTip 起点提示文本
* @param {String} strEndTip 终点提示文本
* @property {Collection} TipText ["起点提示文本","终点提示文本"]
*/
SetTipText:function (strBeginTip,strEndTip) {
},
/**
* 提示文本颜色
* @param {String} strColor 颜色
* @property {Color} LabelColor "0xff8394c1"
*/
SetTipColor:function (strColor) {
},
/**
* 当前数据值
* @param {Number} nValue 数据值
* @property {Number} ValueData 50
*/
SetCurrentValue:function (nValue) {
},
/**
* 当前值颜色
* @param {String} strColor 颜色
* @property {Color} CurrentValueColor "0xff00ffb0"
*/
SetCurrentValueColor:function (strColor) {
},
/**
* 外圈颜色
* @param {String} strColor 颜色
* @property {Color} OuterRingColor "0xff152447"
*/
SetOuterRingColor:function (strColor) {
},
/**
* 外圈刻度颜色
* @param {String} strColor 颜色
* @property {Color} OuterRingScaleColor "0xff223e7a"
*/
SetOuterRingScaleColor:function (strColor) {
},
/**
* 第二个外圈颜色
* @param {String} strColor 颜色
* @property {Color} SecondOuterRingColor "0xff3a6dd6"
*/
SetSecondOuterRingColor:function (strColor) {
},
/**
* 第三个外圈颜色
* @param {String} strColor 颜色
* @property {Color} ThirdOuterRingColor "0xff203a72"
*/
SetThirdOuterRingColor:function (strColor) {
},
/**
* 圆环背景色
* @param {String} strColor 颜色
* @property {Color} RingBgColor "0xff111736"
*/
SetRingBgColor:function (strColor) {
},
/**
* 最大值最小值文本大小
* @param {Number} nSize 数据值
* @property {Number} ValueFontSize 16
*/
SetMaxAndMinValueFontSize:function (nSize) {
},
/**
* 提示文本大小
* @param {Number} nSize 数据值
* @property {Number} TipFontSize 16
*/
SetTipFontSize:function (nSize) {
},
/**
* 当前数据文本大小
* @param {Number} nSize 数据值
* @property {Number} CurrentValueFontSize 40
*/
SetCurrentValueFontSize:function (nSize) {
},
/**
* 图标宽高
* @param {Number} nWidth 宽
* @param {Number} nHeight 高
* @property {Collection} IconSize [26,28]
*/
SetIconSize:function (nWidth,nHeight) {
},
/**
* 最小值文本位置
* @param {String} strRight 右侧百分比
* @param {String} strTop 上侧百分比
* @property {Collection} MinValuePos ["80%","42%"]
*/
SetMinValuePos:function (strRight,strTop) {
},
/**
* 最大值文本位置
* @param {String} strLeft 左侧百分比
* @param {String} strBottom 下侧百分比
* @property {Collection} MaxValuePos ["50%","1%"]
*/
SetMaxValuePos:function (strLeft,strBottom) {
},
/**
* 起点提示文本位置
* @param {String} strRight 右侧百分比
* @param {String} strTop 上侧百分比
* @property {Collection} LabelPos1 ["67%","55%"]
*/
SetBeginTipPos:function (strRight,strTop) {
},
/**
* 终点提示文本位置
* @param {String} strRight 右侧百分比
* @param {String} strBottom 下侧百分比
* @property {Collection} LabelPos2 ["52%","10%"]
*/
SetEndTipPos:function (strRight,strBottom) {
},
/**
* 当前数据文本位置
* @param {String} strRight 右侧百分比
* @param {String} strBottom 下侧百分比
* @property {Collection} DataLabelPos ["48%","30%"]
*/
SetCurrentValuePos:function (strRight,strBottom) {
},
/**
* 半径
* @param {Number} nRadius 半径
* @property {Number} RoundRadius 75
*/
SetRoundRadius:function (nRadius) {
},
/**
* 获取当前数据值
* @return {Number} 数据值
*/
GetCurrentValue:function () {
},
/**
* 获取起点提示文本
* @return {String} 示例文本
*/
GetBeginTipText:function () {
},
/**
* 获取终点提示文本
* @return {String} 示例文本
*/
GetEndTipText:function () {
},
}