/**
* @constructor
*/
function XUIFlatGauge() {
}
XUIFlatGauge.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
}*/
/**
"pie":{
"title":"饼图",
"name":"pie",
"type":"PUIPieInterface",
"index":3
}*/
//接口
/**
* 中心圈文字是否显示
* @param {Boolean} bShow 文字是否显示
* @property {Boolean} DetailShow true
*
*/
SetDetailShow:function (bShow) {
},
/**
* 获取中心圈文字显示状态
* @return {Boolean}
*/
GetDetailShow:function () {
},
/**
* 最外圈轴线是否显示
* @param {Boolean} bShow 轴线是否显示
* @property {Boolean} FirstLineShow true
*/
SetFirstLineShow:function (bShow) {
},
/**
* 获取最外圈轴线显示状态
* @return {Boolean}
*/
GetFirstLineShow:function () {
},
/**
* 最外圈轴线颜色
* @param {String} strColor 轴线颜色
* @property {Color} FirstLineColor "0xff01407F"
*/
SetFirstLineColor:function (strColor) {
},
/**
* 获取最外圈轴线颜色
* @return {String}
*/
GetFirstLineColor:function () {
},
/**
* 最外圈轴线宽度
* @param {Number} nWidth 轴线宽度
* @property {Number} FirstLineWidth 4
*/
SetFirstLineWidth:function (nWidth) {
},
/**
* 获取最外圈轴线宽度
* @return {Number}
*/
GetFirstLineWidth:function () {
},
/**
* 最外圈轴线半径
* @param {String} strRadius 轴线半径
* @property {String} FirstLineRadius "90%"
*/
SetFirstLineRadius:function (strRadius) {
},
/**
* 获取最外圈轴线半径
* @return {String}
*/
GetFirstLineRadius:function () {
},
/**
* 外圈进度轴半径
* @param {String} strRadius 轴线半径
* @property {String} SecLineRadius "86%"
*/
SetSecLineRadius:function (strRadius) {
},
/**
* 获取外圈进度轴半径
* @return {String}
*/
GetSecLineRadius:function () {
},
/**
* 外圈进度轴是否显示
* @param {Boolean} bShow 是否显示
* @property {Boolean} SecLineShow true
*/
SetSecLineShow:function (bShow) {
},
/**
* 获取外圈进度轴显示状态
* @return {Boolean}
*/
GetSecLineShow:function () {
},
/**
* 外圈进度轴颜色
* @param {String} strColor1 运行前颜色
* @param {String} strColor2 运行后颜色
* @property {Collection} SecLineColor ["0xff01407F","0xffff0000"]
*/
SetSecLineColor:function (strColor1,strColor2) {
},
/**
* 获取外圈进度轴运行后颜色
* @return {String}
*/
GetSecLineAfterColor:function () {
},
/**
* 获取外圈进度轴运行前颜色
* @return {String}
*/
GetSecLineBeforeColor:function () {
},
/**
* 外圈进度轴宽度
* @param {Number} nWidth 进度轴宽度
* @property {Number} SecLineWidth 10
*/
SetSecLineWidth:function (nWidth) {
},
/**
* 获取外圈进度轴宽度
* @return {Number}
*/
GetSecLineWidth:function () {
},
/**
* 内圈进度轴是否显示
* @param {Boolean} bShow 是否显示
* @property {Boolean} ThirdLineShow true
*/
SetThirdLineShow:function (bShow) {
},
/**
* 获取内圈进度轴显示状态
* @return {Boolean}
*/
GetThirdLineShow:function () {
},
/**
* 内圈进度轴半径
* @param {String} strRadius 半径大小
* @property {String} ThirdLineRadius "80%"
*/
SetThirdLineRadius:function (strRadius) {
},
/**
* 获取内圈进度轴半径
* @return {String}
*/
GetThirdLineRadius:function () {
},
/**
* 内圈进度轴颜色
* @param {String} strColor1 运行后颜色
* @param {String} strColor2 运行前颜色
* @property {Collection} ThirdLineColor ["0xff00E1ff","0xff009ffe"]
*/
SetThirdLineColor:function (strColor1,strColor2) {
},
/**
* 获取内圈进度轴运行前颜色
* @return {String}
*/
GetThirdLineBeforeColor:function () {
},
/**
* 获取内圈进度轴运行后颜色
* @return {String}
*/
GetThirdLineAfterColor:function () {
},
/**
* 内圈进度轴宽度
* @param {Number} nWidth 进度圈宽度
* @property {Number} ThirdLineWidth 40
*/
SetThirdLineWidth:function (nWidth) {
},
/**
* 获取内圈进度轴宽度
* @return {Number}
*/
GetThirdLineWidth:function () {
},
/**
* 分隔线是否显示
* @param {Boolean} bShow 是否显示
* @property {Boolean} ThirdLineSplitShow true
*/
SetThirdLineSplitShow:function (bShow) {
},
/**
* 获取分隔线显示状态
* @return {Boolean}
*/
GetThirdLineSplitShow:function () {
},
/**
* 分隔线长度
* @param {Number} nLength 分隔线长度
* @property {Number} ThirdLineSplitLength 40
*/
SetThirdLineSplitLength:function (nLength) {
},
/**
* 获取分隔线长度
* @return {Number}
*/
GetThirdLineSplitLength:function () {
},
/**
* 分隔线颜色
* @param {String} strColor 分隔线颜色
* @property {Color} ThirdLineSplitColor "0xff021233"
*/
SetThirdLineSplitColor:function (strColor) {
},
/**
* 获取分隔线颜色
* @return {String}
*/
GetThirdLineSplitColor:function () {
},
/**
* 分隔线宽度
* @param {Number} nWidth 分隔线宽度
* @property {Number} ThirdLineSplitWidth 8
*/
SetThirdLineSplitWidth:function (nWidth) {
},
/**
* 获取分隔线宽度
* @return {Number}
*/
GetThirdLineSplitWidth:function () {
},
/**
* 中心圆半径
* @param {String} strRadius 半径大小
* @property {String} CenterCircleRadius "55%"
*/
SetCenterCircleRadius:function (strRadius) {
},
/**
* 获取中心圆半径
* @return {String}
*/
GetCenterCircleRadius:function () {
},
/**
* 中心圆颜色
* @param {String} strColor 中心圆颜色
* @property {Color} CenterCircleColor "0xff031E43"
*/
SetCenterCircleColor:function (strColor) {
},
/**
* 获取中心圆颜色
* @return {String}
*/
GetCenterCircleColor:function () {
},
/**
* 设置进度
* @param {Number} nValue 进度
* @property {Number} Value 68.5
*/
SetValue:function (nValue) {
},
/**
* 设置进度条角度
* @param {Number} nStart 开始角度
* @param {Number} nEnd 结束角度
* @property {Collection} Angle [-220,40]
*/
SetAngle:function (nStart,nEnd) {
},
/**
* 背景颜色绘制
* @param {Boolean} bDrawColor 是否背景颜色绘制
* @property {Boolean} BgDrawColor true
*/
SetDrawColor:function (bDrawColor) {
},
/**
* 背景颜色
* @param {String} strBgColor 背景颜色
* @property {Color} CtrlBgColor "0xff0A181C"
*/
SetCtrlBgColor:function (strBgColor) {
},
/**
// * 背景图片
// * @param {ImageProp} strBgImg 背景图片
// * @property {ImageProp} CtrlBgImg "images/bg.png"
// */
SetCtrlBgImg:function (strBgImg) {
},
/**
* 图片绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
}