/**
* @constructor
*/
function XUIFireSupplyGauge() {
}
XUIFireSupplyGauge.prototype = {
//组件
/**
"pie1":{
"title":"饼图1",
"name":"pie1",
"type":"PUIPieInterface",
"index":1
}*/
/**
"pie2":{
"title":"饼图2",
"name":"pie2",
"type":"PUIPieInterface",
"index":2
}*/
/**
"gauge0":{
"title":"仪表盘0",
"name":"gauge0",
"type":"PUIGaugeInterface",
"index":0
}*/
/**
"gauge1":{
"title":"仪表盘1",
"name":"gauge1",
"type":"PUIGaugeInterface",
"index":3
}*/
//接口
/**
* 改变仪表数值
* @param {Number} nIndex 仪表下标
* @param {Number} nDateValue 仪表数值
* @property {Number} SeriesdateValue 4
*/
SetSeriesdateValue:function (nIndex,nDateValue) {
},
/**
* 仪表盘最小值
* @param {Number} nMin 仪表盘最小值
* @property {Number} CenterMin 0
*/
SetCenterMin:function (nMin) {
},
/**
* 仪表盘最大值
* @param {Number} nMax 仪表盘最大值
* @property {Number} CenterMax 1000
*/
SetCenterMax:function (nMax) {
},
/**
* 获取最大值
* @return {Number} 最大值
*/
GetCenterMax:function () {
},
/**
* 仪表盘起始结束角度
* @param {Number} nIndex 仪表盘下标
* @param {Number} StartAngle 仪表盘起始角度
* @param {Number} EndAngle 仪表盘结束角度
*/
SetGaugeAngle:function (nIndex,StartAngle,EndAngle) {
},
/**
* 仪表盘中心位置
* @param {Number} nIndex 仪表盘下标
* @param {Array} Center 中心位置
*/
SetGaugeCenter:function (nIndex,Center) {
},
/**
* 设置仪表盘半径
* @param {Number} nIndex 仪表盘下标
* @param {Number} Radius 半径
*/
SetGaugeRadius:function (nIndex,Radius) {
},
/**
* 设置仪表盘名称
* @param {Number} nIndex 仪表盘下标
* @param {String} DataName 仪表盘名称
*/
SetGaugeDataName:function (nIndex,DataName) {
},
/**
* 设置仪表盘名称显示
* @param {Number} nIndex 仪表盘下标
* @param {Boolean} Show 显示
*/
SetTitleShow:function (nIndex,Show) {
},
/**
* 设置仪表盘名称字体大小
* @param {Number} nIndex 仪表盘下标
* @param {Number} nFontSize 字体大小
*/
SetTitleFontSize:function (nIndex,nFontSize) {
},
/**
* 设置仪表盘名称颜色
* @param {Number} nIndex 仪表盘下标
* @param {String} Color 颜色
*/
SetTitleColor:function (nIndex,Color) {
},
/**
* 设置仪表盘名称位置
* @param {Number} nIndex 仪表盘下标
* @param {Array} OffsetCenter 位置
*/
SetTitleOffsetCenter:function (nIndex,OffsetCenter) {
},
/**
* 设置仪表盘指针是否显示
* @param {Number} nIndex 仪表盘下标
* @param {Boolean} PointerShow 显示
*/
SetPointerShow:function (nIndex,PointerShow) {
},
/**
* 设置仪表盘指针颜色
* @param {Number} nIndex 仪表盘下标
* @param {String} strPointerColor 颜色
*/
SetPointerColor:function (nIndex,strPointerColor) {
},
/**
* 设置仪表盘指针的长宽
* @param {Number} nIndex 仪表盘下标
* @param {String} PointerLength 长
* @param {Number} PointerWidth 宽
*/
SetPointerSize:function (nIndex,PointerLength,PointerWidth) {
},
/**
* 设置仪表盘详情显示
* @param {Number} nIndex 仪表盘下标
* @param {Boolean} DetailShow 是否显示
*/
SetDetailShow:function (nIndex,DetailShow) {
},
/**
* 设置仪表盘详情文字颜色
* @param {Number} nIndex 仪表盘下标
* @param {String} strDetailColor 文字颜色
*/
SetDetailColor:function (nIndex,strDetailColor) {
},
/**
* 设置仪表盘详情文字大小
* @param {Number} nIndex 仪表盘下标
* @param {Number} FontSize 文字大小
*/
SetDetailFontSize:function (nIndex,FontSize) {
},
/**
* 设置仪表盘详情偏移位置
* @param {Number} nIndex 仪表盘下标
* @param {Array} OffsetCenter 偏移位置
*/
SetDetailOffsetCenter:function (nIndex,OffsetCenter) {
},
/**
* 设置仪表盘轴线宽度
* @param {Number} nIndex 仪表盘下标
* @param {Number} Width 轴线宽度
*/
SetAxisLineWidth:function (nIndex,Width) {
},
/**
* 设置仪表盘轴线颜色
* @param {Number} nIndex 仪表盘下标
* @param {Array} Color1 数据轴线颜色
* @param {String} strColor2 轴线背景色
*/
SetAxisLineColor:function (nIndex,Color1,strColor2) {
},
/**
* 设置饼图显示样式
* @param {Number} nIndex 饼图下标
*/
SetPieData:function (nIndex) {
},
/**
* 设置饼图颜色
* @param {Number} nIndex 饼图下标
* @param {String} strColor 轴线背景色
*/
SetPieColor:function (nIndex,strColor) {
},
/**
* 设置值的竖直位置
* @param {String} strPostion 竖直位置
*/
SetHorzPostion:function (strPostion) {
},
}