/**
* @constructor
*/
function XUIHorThermometer() {
}
XUIHorThermometer.prototype = {
//组件
/**
"bar1":{
"title":"柱状图1",
"name":"bar1",
"type":"PUIBarInterface",
"index":0
}*/
/**
"bar2":{
"title":"柱状图2",
"name":"bar2",
"type":"PUIBarInterface",
"index":1
}*/
/**
"bar3":{
"title":"柱状图3",
"name":"bar3",
"type":"PUIBarInterface",
"index":2
}*/
/**
"xAxis1":{
"title":"x轴1",
"name":"xAxis1",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"xAxis2":{
"title":"x轴2",
"name":"xAxis2",
"type":"PUIXAxisInterface",
"index":1
}*/
/**
"xAxis3":{
"title":"x轴3",
"name":"xAxis3",
"type":"PUIXAxisInterface",
"index":2
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
//接口
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} BgColor "0xff000000"
*/
SetBgColor:function (strColor) {
},
/**
* 下限部分颜色
* @param {String} strColor 颜色
* @property {Color} LowerLimitColor "0xff0060dd"
*/
SetLowerLimitColor:function (strColor) {
},
/**
* 中间部分颜色
* @param {String} strColor 颜色
* @property {Color} MiddlePartColor "0xff31c526"
*/
SetMiddlePartColor:function (strColor) {
},
/**
* 上限部分颜色
* @param {String} strColor 颜色
* @property {Color} UpperLimitColor "0xffff0000"
*/
SetUpperLimitColor:function (strColor) {
},
/**
* 边框颜色
* @param {String} strColor 颜色
* @property {Color} BorderColor "0xff3f4855"
*/
SetBorderColor:function (strColor) {
},
/**
* 取值范围
* @param {Number} nMin 最小值
* @param {Number} nMax 最大值
* @property {Collection} ValueRange [-30,140]
*/
SetValueRange:function (nMin,nMax) {
},
/**
* 下限值
* @param {Number} nValue 颜色
* @property {Number} LowerLimitValue 0
*/
SetLowerLimitValue:function (nValue) {
},
/**
* 获取下限值
* @return {Number}
*/
GetLowerLimitValue:function () {
},
/**
* 正常值
* @param {Number} nValue 颜色
* @property {Number} NormalValue 80
*/
SetNormalValue:function (nValue) {
},
/**
* 获取正常值
* @return {Number}
*/
GetNormalValue:function () {
},
/**
* 上限值
* @param {Number} nValue 颜色
* @property {Number} UpperLimitValue 120
*/
SetUpperLimitValue:function (nValue) {
},
/**
* 获取上限值
* @return {Number}
*/
GetUpperLimitValue:function () {
},
/**
* 柱宽
* @param {Number} nWidth 颜色
* @property {Number} BarWidth 20
*/
SetBarWidth:function (nWidth) {
},
/**
* 柱圆角
* @param {Number} nRadius 颜色
* @property {Number} BarRoundRadius 20
*/
SetBarRoundRadius:function (nRadius) {
},
/**
* 当前值
* @param {Number} nValue 颜色
* @property {Number} CurrentValue 30
*/
SetCurrentValue:function (nValue) {
},
/**
* 获取当前值
* @return {Number}
*/
GetCurrentValue:function () {
},
/**
* 当前值图标大小
* @param {Number} nSize 大小
* @property {Number} CurValueSymbolSize 20
*/
SetCurValueSymbolSize:function (nSize) {
},
/**
* 当前值图标颜色
* @param {String} strColor 颜色
* @property {Color} CurValueSymbolColor "0xffff0000"
*/
SetCurValueSymbolColor:function (strColor) {
},
/**
* 轴颜色
* @param {String} strColor 颜色
* @property {Color} AxisLineColor "0xff3f4855"
*/
SetAxisLineColor:function (strColor) {
},
/**
* 轴刻度线长
* @param {Number} nLen 颜色
* @property {Number} AxisTickLen 10
*/
SetAxisTickLen:function (nLen) {
},
/**
* 轴线宽
* @param {Number} nWidth 颜色
* @property {Number} AxisLineWidth 2
*/
SetAxisLineWidth:function (nWidth) {
},
/**
* 上轴显示
* @param {Boolean} bVisible 是否显示
* @property {Boolean} UpAxisVisible true
*/
SetUpAxisVisible:function (bVisible) {
},
/**
* 上轴刻度显示
* @param {Boolean} bVisible 是否显示
* @property {Boolean} UpAxisScaleVisible false
*/
SetUpAxisScaleVisible:function (bVisible) {
},
/**
* 上轴位移
* @param {Number} nOffset 最小值
* @property {Number} UpAxisOffset -10
*/
SetUpAxisOffset:function (nOffset) {
},
/**
* 下轴显示
* @param {Boolean} bVisible 是否显示
* @property {Boolean} DownAxisVisible true
*/
SetDownAxisVisible:function (bVisible) {
},
/**
* 下轴刻度显示
* @param {Boolean} bVisible 是否显示
* @property {Boolean} DownAxisScaleVisible true
*/
SetDownAxisScaleVisible:function (bVisible) {
},
/**
* 下轴位移
* @param {Number} nOffset 最小值
* @property {Number} DownAxisOffset -10
*/
SetDownAxisOffset:function (nOffset) {
},
}