/**
* @constructor
*/
function XUISimpleGauge() {
}
XUISimpleGauge.prototype = {
//组件
/**
"gauge":{
"title":"仪表盘",
"name":"gauge",
"type":"PUIGaugeInterface",
"index":0
}*/
//接口
/**
* 设置进度
* @param {Number} nData 进度
* @property {Number} GaugeProgress 40
*/
SetGaugeProgress:function (nData) {
},
/**
* 获取数据
* @return {Number} 数据
*/
GetDataByIndex:function () {
},
/**
* 设置仪表盘半径
* @param {String} strRadius 半径
* @property {String} GaugeRadius "95%"
*/
SetGaugeRadius:function (strRadius) {
},
/**
* 设置仪表盘分割段数
* @param {Number} nSplitNumber 分割段数
* @property {Number} GaugeSplitNumber 50
*/
SetGaugeSplitNumber:function (nSplitNumber) {
},
/**
* 设置仪表盘轴线颜色
* @param {String} strColor 轴线颜色
* @property {Color} GaugeAxisLineColor "0xffFCFC01"
*/
SetGaugeAxisLineColor:function (strColor) {
},
/**
* 获取进度底色
* @return {String} 进度底色
*/
GetProgressBgColor:function () {
},
/**
* 设置进度颜色
* @param {String} strColor 进度颜色
* @property {Color} ProgressColor "0xff1F2B48"
*/
SetProgressColor:function (strColor) {
},
/**
* 获取进度颜色
* @return {String} 进度颜色
*/
GetProgressColor:function () {
},
/**
* 设置仪表盘轴线宽度
* @param {Number} nWidth 轴线宽度
* @property {Number} GaugeAxisLineWidth 4
*/
SetGaugeAxisLineWidth:function (nWidth) {
},
/**
* 设置仪表盘分割线长度
* @param {Number} nLength 分割线长度
* @property {Number} GaugeSplitLineLength 4
*/
SetGaugeSplitLineLength:function (nLength) {
},
/**
* 设置仪表盘分割线颜色
* @param {String} strColor 分割线颜色
* @property {Color} GaugeSplitLineColor "0xff0C192B"
*/
SetGaugeSplitLineColor:function (strColor) {
},
/**
* 设置仪表盘分割线宽度
* @param {Number} nWidth 分割线宽度
* @property {Number} GaugeSplitLineWidth 1.5
*/
SetGaugeSplitLineWidth:function (nWidth) {
},
/**
* 设置仪表盘数字颜色
* @param {String} strColor 表盘数字颜色
* @property {Color} GaugeDetailColor "0xffFFFFFF"
*/
SetGaugeDetailColor:function (strColor) {
},
/**
* 设置仪表盘数字字体大小
* @param {Number} nFontSize 数字字体大小
* @property {Number} GaugeDetailFontSize 28
*/
SetGaugeDetailFontSize:function (nFontSize) {
},
/**
* 设置仪表盘文字颜色
* @param {String} strColor 表盘文字颜色
* @property {Color} GaugeTitleColor "0xffDBE6FF"
*/
SetGaugeTitleColor:function (strColor) {
},
/**
* 设置仪表盘数字内容
* @param {Number} nValue 表盘数字内容
* @property {Number} GaugeValueContent 40
*/
SetGaugeValueContent:function (nValue) {
},
/**
* 设置仪表盘文字内容
* @param {String} strName 表盘文字内容
* @property {String} GaugeNameContent "时间可利用率"
*/
SetGaugeNameContent:function (strName) {
},
}