/**
* @constructor
*/
function XUIRightProgressBarHalf() {
}
XUIRightProgressBarHalf.prototype = {
//组件
/**
"gauge0":{
"title":"仪表盘0",
"name":"gauge0",
"type":"PUIGaugeInterface",
"index":0
}*/
/**
"pie1":{
"title":"饼图1",
"name":"pie1",
"type":"PUIPieInterface",
"index":1
}*/
/**
"text0":{
"title":"关系文本0",
"name":"text0",
"type":"PUIGraphicTextInterface",
"index":0
}*/
/**
"text1":{
"title":"关系文本1",
"name":"text1",
"type":"PUIGraphicTextInterface",
"index":1
}*/
/**
"text3":{
"title":"关系文本3",
"name":"text3",
"type":"PUIGraphicTextInterface",
"index":3
}*/
/**
"image":{
"title":"关系图片",
"name":"image",
"type":"PUIGraphicImageInterface",
"index":2
}*/
//接口
/**
* 半径百分比
* @param {String} strRadius 半径百分比
* @property {String} Radius "160%"
*/
SetRadius:function (strRadius) {
},
/**
* 刻度最小值和最大值
* @param {Number} nMin 最小值
* @param {Number} nMax 最大值
* @property {Collection} ValueRange [0,60000]
*/
SetValueRange:function (nMin,nMax) {
},
/**
* 当前数据值
* @param {Number} nValue 数据值
* @property {Number} DataValue 48526
*/
SetCurrentValue:function (nValue) {
},
/**
* 图例文本
* @param {String} strFirstLegent 文本一
* @param {String} strSecondLegent 文本二
* @property {Collection} LegendText ["示例文本1","示例文本2"]
*/
SetLegendText:function (strFirstLegent,strSecondLegent) {
},
/**
* 数据值颜色
* @param {String} strColor 颜色
* @property {Color} DataColor "0xff4582ff"
*/
SetDataColor:function (strColor) {
},
/**
* 上下值的文本颜色
* @param {String} strColor 颜色
* @property {Color} MinAndMaxColor "0xff8394c1"
*/
SetMinAndMaxColor:function (strColor) {
},
/**
* 图例文本颜色
* @param {String} strColor 颜色
* @property {Color} LegendFontColor "0xff8394c1"
*/
SetLegendFontColor:function (strColor) {
},
/**
* 进度条颜色
* @param {String} strColor 颜色
* @property {Color} BarColor "0xff4582ff"
*/
SetBarColor:function (strColor) {
},
/**
* 分割线颜色
* @param {String} strColor 颜色
* @property {Color} SplitLineColor "0xff8491e2"
*/
SetSplitLineColor:function (strColor) {
},
/**
* 刻度线线颜色
* @param {String} strColor 颜色
* @property {Color} AxisTickColor "0xff4e5479"
*/
SetAxisTickColor:function (strColor) {
},
/**
* 上下值大小
* @param {Number} nValue 数据值
* @property {Number} ScaleLabelSize 24
*/
SetScaleLabelSize:function (nValue) {
},
/**
* 提示文本大小
* @param {Number} nValue 数据值
* @property {Number} TipFontSize 22
*/
SetTipFontSize:function (nValue) {
},
/**
* 数据文本大小
* @param {Number} nValue 数据值
* @property {Number} CurrentValueFontSize 28
*/
SetCurrentValueFontSize:function (nValue) {
},
/**
* 末端图标图片
* @param {ImageProp} strImg 图标路径
* @property {ImageProp} IconImage "common_2dChart/XUIRightProgressBarHalf/images/dxhdbz_yuandian.png"
*/
SetIconImage:function (strImg) {
},
/**
* 图例文本背景
* @param {ImageProp} strImg 路径
* @property {ImageProp} TipBgImage "common_2dChart/XUIRightProgressBarHalf/images/dxhdbz_kuang.png"
*/
SetTipBgImage:function (strImg) {
},
/**
* 控件背景颜色
* @param {String} strBgColor 背景颜色
* @property {Color} BgColor ""
*/
SetBgColor:function (strBgColor) {
},
/**
* 最小值位置
* @param {String} strLeft 左侧百分比
* @param {String} strTop 上侧百分比
* @property {Collection} MinValuePos ["48%","9%"]
*/
SetMinValuePos:function (strLeft,strTop) {
},
/**
* 最大值位置
* @param {String} strLeft 左侧百分比
* @param {String} strBottom 下侧百分比
* @property {Collection} MaxValuePos ["43%","8%"]
*/
SetMaxValuePos:function (strLeft,strBottom) {
},
/**
* 图例一位置
* @param {String} strLeft 左侧百分比
* @param {String} strBottom 下侧百分比
* @property {Collection} FirstLegendPos ["25%","41%"]
*/
SetFirstLegendPos:function (strLeft,strBottom) {
},
/**
* 图例二位置
* @param {String} strLeft 左侧百分比
* @param {String} strBottom 下侧百分比
* @property {Collection} SecondLegendPos ["25%","25%"]
*/
SetSecondLegendPos:function (strLeft,strBottom) {
},
/**
* 数据文本位置
* @param {String} strLeft 左侧百分比
* @param {String} strBottom 下侧百分比
* @property {Collection} CurrentValuePos ["27%","32%"]
*/
SetCurrentValuePos:function (strLeft,strBottom) {
},
/**
* 进度条起始角度
* @param {Number} nStartAngle 起始角度
* @param {Number} nEndAngle 结束角度
* @property {Collection} StartAngle [90,-90]
*/
SetStartAndEndAngle:function (nStartAngle,nEndAngle) {
},
}