/**
* @constructor
*/
function XUIOrderDashBoard() {
}
XUIOrderDashBoard.prototype = {
//组件
/**
"gauge0":{
"title":"仪表盘0",
"name":"gauge0",
"type":"PUIGaugeInterface",
"index":0
}*/
/**
"gauge1":{
"title":"仪表盘1",
"name":"gauge1",
"type":"PUIGaugeInterface",
"index":1
}*/
/**
"gauge2":{
"title":"仪表盘2",
"name":"gauge2",
"type":"PUIGaugeInterface",
"index":2
}*/
/**
"gauge3":{
"title":"仪表盘3",
"name":"gauge3",
"type":"PUIGaugeInterface",
"index":3
}*/
/**
"gauge4":{
"title":"仪表盘4",
"name":"gauge4",
"type":"PUIGaugeInterface",
"index":4
}*/
/**
"gauge5":{
"title":"仪表盘5",
"name":"gauge5",
"type":"PUIGaugeInterface",
"index":5
}*/
/**
"gauge6":{
"title":"仪表盘6",
"name":"gauge6",
"type":"PUIGaugeInterface",
"index":6
}*/
/**
"gauge7":{
"title":"仪表盘7",
"name":"gauge7",
"type":"PUIGaugeInterface",
"index":7
}*/
/**
"Pie0":{
"title":"饼图0",
"name":"Pie0",
"type":"PUIPieInterface",
"index":8
}*/
/**
"Pie1":{
"title":"饼图1",
"name":"Pie1",
"type":"PUIPieInterface",
"index":9
}*/
/**
"Pie2":{
"title":"饼图2",
"name":"Pie2",
"type":"PUIPieInterface",
"index":10
}*/
//接口
/**
* 设置背景颜色
* @param {String} strColor 颜色
* @property {Color} BgColor ""
*/
SetBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 设置仪表盘的起始结束角度
* @param {Number} nStartAngle 起始角度
* @param {Number} nEndAngle 结束角度
* @property {Collection} nAngle [210,-30]
*/
SetStartAndEndAngle:function (nStartAngle,nEndAngle) {
},
/**
* 获取仪表盘的起始结束角度
* @return {Array}
*/
GetStartAndEndAngle:function () {
},
/**
* 设置当前数据值
* @param {Number} nValue 数据值
* @property {Number} ValueData 90
*/
SetCurrentValue:function (nValue) {
},
/**
* 获取当前数据值
* @return {Number}
*/
GetCurrentValue:function () {
},
/**
* 设置显示当前数据
* @param {Boolean} bShow 是否显示当前数据
* @property {Boolean} bShowCurrentValue true
*/
SetShowCurrentValue:function (bShow) {
},
/**
* 当前数据是否显示
* @return {Boolean}
*/
IsShowCurrentValue:function () {
},
/**
* 设置当前数据字体大小
* @param {Number} nSize 字体大小
* @property {Number} nCurrentValueSize 42
*/
SetCurrentValueSize:function (nSize) {
},
/**
* 获取当前数据字体大小
* @return {Number}
*/
GetCurrentValueSize:function () {
},
/**
* 设置当前数据颜色
* @param {String} strColor 数据颜色
* @property {Color} strCurrentValueColor "0xffff0000"
*/
SetCurrentValueColor:function (strColor) {
},
/**
* 获取当前数据颜色
* @return {String}
*/
GetCurrentValueColor:function () {
},
/**
* 设置当前数据位置
* @param {String} strXaxis 左右位置
* @param {String} strYaxis 上下位置
* @property {Collection} ValuePosition [0,40]
*/
SetCurValuePosition:function (strXaxis,strYaxis) {
},
/**
* 获取当前数据位置
* @return {Array}
*/
GetCurValuePosition:function () {
},
/**
* 设置外圈刻度颜色
* @param {String} strColor 颜色
* @property {Color} strOuterRingColor "0xff152447"
*/
SetOuterRingColor:function (strColor) {
},
/**
* 获取外圈刻度颜色
* @return {String}
*/
GetOuterRingColor:function () {
},
/**
* 设置外圈刻度字体大小
* @param {Number} nSize 颜色
* @property {Number} OuterTextSize 24
*/
SetOuterTextSize:function (nSize) {
},
/**
* 获取外圈刻度字体大小
* @return {Number}
*/
GetOuterTextSize:function () {
},
/**
* 设置外圈刻度不显示
* @param {Boolean} bShow true为显示false为不显示
* @property {Boolean} bShowOuter false
*/
SetShowOuter:function (bShow) {
},
/**
* 外圈刻度是否显示
* @return {Boolean}
*/
IsShowOuter:function () {
},
/**
* 设置外圈刻度的距离
* @param {Number} nDistance 间距
* @property {Number} OuterDistance 53
*/
SetOuterDistance:function (nDistance) {
},
/**
* 获取外圈刻度的距离
* @return {Number}
*/
GetOuterDistance:function () {
},
/**
* 外圈刻度字体颜色
* @param {String} strColor 颜色
* @property {Color} OuterRingTextColor "0xff223e7a"
*/
SetOuterRingTextColor:function (strColor) {
},
/**
* 获取外圈刻度字体颜色
* @return {String}
*/
GetOuterRingTextColor:function () {
},
/**
* 最外圈刻度线颜色
* @param {String} strColor 颜色
* @property {Color} OuterRingScaleColor "0xff223e7a"
*/
SetOuterRingScaleColor:function (strColor) {
},
/**
* 获取最外圈刻度的颜色
* @return {String}
*/
GetOuterRingScaleColor:function () {
},
/**
* 设置刻度线长度
* @param {Number} nLength 刻度线长度
* @property {Number} ScaleMarkLength 2
*/
SetScaleMarkLength:function (nLength) {
},
/**
* 获取刻度线长度
* @return {Number}
*/
GetScaleMarkLength:function () {
},
/**
* 设置第二个圈颜色
* @param {String} strColor 颜色
* @property {Color} SecondOuterRingColor "0xff3a6dd6"
*/
SetSecondOuterRingColor:function (strColor) {
},
/**
* 获取第一个圈颜色
* @return {String}
*/
GetSecondOuterRingColor:function () {
},
/**
* 设置环型进度条颜色
* @param {String} strColor1 颜色1
* @param {String} strColor2 颜色2
* @property {Collection} ProgressBarColor ["0xff48273c","0xfff24854"]
*/
SetProgressBarColor:function (strColor1,strColor2) {
},
/**
* 获取环型进度条颜色
* @return {Array}
*/
GetProgressBarColor:function () {
},
/**
* 设置标题显示
* @param {Boolean} bShow true为显示false为不显示
* @property {Boolean} bShowTitle true
*/
SetShowTitle:function (bShow) {
},
/**
* 标题是否显示
* @return {Boolean}
*/
IsShowTitle:function () {
},
/**
* 设置标题的位置
* @param {Number} nXaxis 正数向右负数向左
* @param {Number} nYaxis 正数向下负数向上
* @property {Collection} TitlePosation [0,70]
*/
SetTitlePosation:function (nXaxis,nYaxis) {
},
/**
* 获取标题位置
* @return {Array}
*/
GetTitlePosation:function () {
},
/**
* 设置标题内容
* @param {String} strCont 标题内容
* @property {String} strTitleCont "案列一"
*/
SetTitleCont:function (strCont) {
},
/**
* 获取标题内容
* @return {String}
*/
GetTitleCont:function () {
},
/**
* 设置标题字体大小
* @param {Number} nSize 字体大小
* @property {Number} nTextSize 24
*/
SetTitleTextSize:function (nSize) {
},
/**
* 获取标题字体大小
* @return {Number}
*/
GetTitleTextSize:function () {
},
/**
* 设置标题字体颜色
* @param {String} strColor 标题字体颜色
* @property {Color} strTitleColor "0xff8394c1"
*/
SetTitleColor:function (strColor) {
},
/**
* 获取标题字体颜色
* @return {String}
*/
GetTitleColor:function () {
},
/**
* 设置刻度最大值
* @param {Number} nMax 最大值
* @property {Number} nValueRange 100
*/
SetValueMax:function (nMax) {
},
/**
* 获取刻度最大值
* @return {Number}
*/
GetValueMax:function () {
},
/**
* 设置显示中间圆部分
* @param {Boolean} bShow true为显示false为不显示
* @property {Boolean} bShowCenterRound true
*/
SetShowCenterRound:function (bShow) {
},
/**
* 是否显示中间部分
* @return {Boolean}
*/
IsShowCenterRound:function () {
},
/**
* 设置显示指针
* @param {Boolean} bShow true为显示false为不限显示
* @property {Boolean} bShowPointer true
*/
SetShowPointer:function (bShow) {
},
/**
* 指针是否显示
* @return {Boolean}
*/
IsShowPointer:function () {
},
/**
* 设置仪表内部的色块的宽度
* @param {Number} nSize 宽度
* @property {Number} nLumpSize 51
*/
SetInterLumpSize:function (nSize) {
},
/**
* 获取仪表内部的色块的宽度
* @return {Number}
*/
GetInterLumpSize:function () {
},
/**
* 设置显示仪表内部色块
* @param {Boolean} bShow true为显示false为不显示
* @property {Boolean} bShowColorLump true
*/
SetShowColorLump:function (bShow) {
},
/**
* 仪表内部色块是否显示
* @return {Boolean}
*/
IsShowColorLump:function () {
},
/**
* 设置内部刻度线不显示
* @param {Boolean} bShow ture为显示false为不显示
* @property {Boolean} bShowInterLabel false
*/
SetShowInterLabel:function (bShow) {
},
/**
* 内部刻度线是否显示
* @return {Boolean}
*/
IsShowInterLabel:function () {
},
/**
* 设置内圈刻度分割线数量
* @param {Number} nNum 分割数量
* @property {Number} nInterSplNum 3
*/
SetInterSplNum:function (nNum) {
},
/**
* 获取内圈刻度分割线数量
* @return {Number}
*/
GetInterSplNum:function () {
},
/**
* 设置整体仪表盘的半径大小
* @param {Number} nRadius 仪表盘整体半径
* @property {Number} nGaugeRadius 70
*/
SetGaugeRadius:function (nRadius) {
},
/**
* 获取仪表盘半径大小
* @return {Number}
*/
GetGaugeRadius:function () {
},
/**
* 设置刻度色块半径的大小
* @param {Number} nRadius 色块半径
* @property {Number} nRadiusScale 69
*/
SetRadiusScale:function (nRadius) {
},
/**
* 获取刻度色块半径的大小
* @return {Number}
*/
GetRadiusScale:function () {
},
/**
* 设置刻度色块的宽度
* @param {Number} nWidth 色块宽度
* @property {Number} nWidthScale 48
*/
SetWidthScale:function (nWidth) {
},
/**
* 获取刻度色块的宽度
* @return {Number}
*/
GetWidthScale:function () {
},
/**
* 设置底部刻度色块背景颜色
* @param {String} strColor 色块底部块颜色
* @property {Color} strScaleBgColor "0xff14223f"
*/
SetScaleBgColor:function (strColor) {
},
/**
* 获取底部刻度色块背景颜色
* @return {String}
*/
GetScaleBgColor:function () {
},
}