/**
* @constructor
*/
function XUIDashBoard() {
}
XUIDashBoard.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
}*/
/**
"Pie6":{
"title":"饼图",
"name":"Pie6",
"type":"PUIPieInterface",
"index":6
}*/
/**
"Pie7":{
"title":"饼图",
"name":"Pie7",
"type":"PUIPieInterface",
"index":7
}*/
//接口
/**
* 设置背景颜色
* @param {String} strBackgroundColor 背景颜色
* @property {Color} BackgroundColor "0xff0C142A"
*/
SetBackgroundColor:function (strBackgroundColor) {
},
/**
* 刻度盘角度
* @param {Number} nScaleStartAngle 刻度盘起始角度
* @param {Number} nScaleEndAngle 刻度盘结束角度
* @property {Collection} ScaleAngle [90,-90]
*/
SetScaleAngle:function (nScaleStartAngle,nScaleEndAngle) {
},
/**
* 刻度分割段数
* @param {Number} nScaleSplitNumber 刻度分割段数
* @property {Number} ScaleSplitNumber 9
*/
SetScaleSplitNumber:function (nScaleSplitNumber) {
},
/**
* 刻度盘分割线长度
* @param {Number} nScaleSplitLineLength 刻度盘分割线长度
* @property {Number} ScaleSplitLineLength 12
*/
SetScaleSplitLineLength:function (nScaleSplitLineLength) {
},
/**
* 刻度盘分割线颜色
* @param {String} strScaleSplitLineColor 刻度盘分割线颜色
* @property {Color} ScaleSplitLineColor "0xff373D5A"
*/
SetScaleSplitLineColor:function (strScaleSplitLineColor) {
},
/**
* 刻度盘分割线宽度
* @param {Number} nScaleSplitLineWidth 刻度盘分割线宽度
* @property {Number} ScaleSplitLineWidth 1
*/
SetScaleSplitLineWidth:function (nScaleSplitLineWidth) {
},
/**
* 刻度盘分隔线之间分割的刻度数
* @param {Number} nScaleAxisTickSplitNumber 刻度数
* @property {Number} ScaleAxisTickSplitNumber 10
*/
SetScaleAxisTickSplitNumber:function (nScaleAxisTickSplitNumber) {
},
/**
* 设置刻度盘刻度的透明度
* @param {Number} nScaleOpacity 刻度盘刻度的透明度
* @property {Number} ScaleOpacity 0.1
*/
SetScaleOpacity:function (nScaleOpacity) {
},
/**
* 设置外层轴线角度
* @param {Number} nOuterAxisLineStartAngle 起始角度
* @param {Number} nOuterAxisLineEndAngle 结束角度
* @property {Collection} OuterAxisLineAngle [90,-90]
*/
SetOuterAxisLineAngle:function (nOuterAxisLineStartAngle,nOuterAxisLineEndAngle) {
},
/**
* 外层轴线位置
* @param {Array} arrOuterAxisLinePosition 外层轴线位置
* @property {Array} OuterAxisLinePosition ["50%","50%"]
*/
SetOuterAxisLinePosition:function (arrOuterAxisLinePosition) {
},
/**
* 外层轴线半径
* @param {String} strOuterAxisLineRadius 外层轴线半径
* @property {String} OuterAxisLineRadius "76%"
*/
SetOuterAxisLineRadius:function (strOuterAxisLineRadius) {
},
/**
* 外层轴线颜色
* @param {String} strOuterAxisLineColor 外层轴线颜色
* @property {Color} OuterAxisLineColor "0xff373D5A"
*/
SetOuterAxisLineColor:function (strOuterAxisLineColor) {
},
/**
* 外层轴线宽度
* @param {Number} nOuterAxisLineWidth 外层轴线宽度
* @property {Number} OuterAxisLineWidth 2
*/
SetOuterAxisLineWidth:function (nOuterAxisLineWidth) {
},
/**
* 底色轴线角度
* @param {Number} nUnderAxisLineStartAngle 底色轴线起始角度
* @param {Number} nnderAxisLineEndAngle 底色轴线结束角度
*/
SetUnderAxisLineAngle:function (nUnderAxisLineStartAngle,nnderAxisLineEndAngle) {
},
/**
* 底色轴线位置
* @param {Array} arrUnderAxisLinePosition 底色轴线位置
* @property {Array} UnderAxisLinePosition ["50%","50%"]
*/
SetUnderAxisLinePosition:function (arrUnderAxisLinePosition) {
},
/**
* 底色轴线分割段数
* @param {Number} nUnderAxisLineSplitNumber 底色轴线分割段数
* @property {Number} UnderAxisLineSplitNumber 20
*/
SetUnderAxisLineSplitNumber:function (nUnderAxisLineSplitNumber) {
},
/**
* 底色轴线半径
* @param {String} strUnderAxisLineRadius 底色轴线半径
* @property {String} UnderAxisLineRadius "69%"
*/
SetUnderAxisLineRadius:function (strUnderAxisLineRadius) {
},
/**
* 底色轴线颜色
* @param {String} strUnderAxisLineColor 底色轴线颜色
* @property {Color} UnderAxisLineColor "0xff0A243F"
*/
SetUnderAxisLineColor:function (strUnderAxisLineColor) {
},
/**
* 底色轴线宽度
* @param {Number} nUnderAxisLineWidth 底色轴线宽度
* @property {Number} UnderAxisLineWidth 18
*/
SetUnderAxisLineWidth:function (nUnderAxisLineWidth) {
},
/**
* 底色轴线透明度
* @param {Number} nUnderAxisLineOpacity 底色轴线透明度
* @property {Number} UnderAxisLineOpacity 0.5
*/
SetUnderAxisLineOpacity:function (nUnderAxisLineOpacity) {
},
/**
* 底色轴线间隔距离
* @param {Number} nUnderAxisLineSplitLineWidth 底色轴线间隔距离
* @property {Number} UnderAxisLineSplitLineWidth 5
*/
SetUnderAxisLineSplitLineWidth:function (nUnderAxisLineSplitLineWidth) {
},
/**
* 底色轴线分割线颜色
* @param {String} strUnderAxisLineSplitLineColor 底色轴线分割线颜色
* @property {Color} UnderAxisLineSplitLineColor "0xff0C142A"
*/
SetUnderAxisLineSplitLineColor:function (strUnderAxisLineSplitLineColor) {
},
/**
* 设置仪表盘角度
* @param {Number} nDashboardStartAngle 仪表盘起始角度
* @param {Number} nDashboardEndAngle 仪表盘结束角度
* @property {Collection} DashboardAngle [90,-90]
*/
SetDashboardAngle:function (nDashboardStartAngle,nDashboardEndAngle) {
},
/**
* 仪表盘位置
* @param {Array} arrDashboardPosition 仪表盘位置
* @property {Array} DashboardPosition ["50%","50%"]
*/
SetDashboardPosition:function (arrDashboardPosition) {
},
/**
* 仪表盘指针长度
* @param {String} strDashboardPointerLength 仪表盘指针长度
* @property {String} DashboardPointerLength "90%"
*/
SetDashboardPointerLength:function (strDashboardPointerLength) {
},
/**
* 仪表盘指针宽度
* @param {Number} nDashboardPointerWidth 仪表盘指针宽度
* @property {Number} DashboardPointerWidth 5
*/
SetDashboardPointerWidth:function (nDashboardPointerWidth) {
},
/**
* 仪表盘分割段数
* @param {Number} nDashboardSplitNumber 仪表盘分割段数
* @property {Number} DashboardSplitNumber 20
*/
SetDashboardSplitNumber:function (nDashboardSplitNumber) {
},
/**
* 仪表盘半径
* @param {String} strDashboardRadius 仪表盘半径
* @property {String} DashboardRadius "60%"
*/
SetDashboardRadius:function (strDashboardRadius) {
},
/**
* 仪表盘颜色
* @param {String} strDashboardFirstColor 仪表盘第一种颜色
* @param {String} strDashboardSecondColor 仪表盘第二种颜色
* @param {String} strDashboardThirdColor 仪表盘第三种颜色
* @param {String} strDashboardFourthColor 仪表盘第四种颜色
*/
SetDashboardColor:function (strDashboardFirstColor,strDashboardSecondColor,strDashboardThirdColor,strDashboardFourthColor) {
},
/**
* 仪表盘轴线宽度
* @param {Number} nDashboardAxisLineWidth 仪表盘轴线宽度
* @property {Number} DashboardAxisLineWidth 8
*/
SetDashboardAxisLineWidth:function (nDashboardAxisLineWidth) {
},
/**
* 仪表盘分割宽
* @param {Number} nDashboardSplitWidth 仪表盘分割宽
* @property {Number} DashboardSplitWidth 5
*/
SetDashboardSplitWidth:function (nDashboardSplitWidth) {
},
/**
* 仪表盘分割线颜色
* @param {String} strDashboardSplitColor 仪表盘分割线颜色
* @property {Color} DashboardSplitColor "0xff0C142A"
*/
SetDashboardSplitColor:function (strDashboardSplitColor) {
},
/**
* 设置文字内容
* @param {String} strDataName 文字内容
* @property {String} DataName "测试数据1"
*/
SetDataName:function (strDataName) {
},
/**
* 设置文字颜色
* @param {String} strDataNameColor 文字颜色
* @property {Color} DataNameColor "0xff788AB7"
*/
SetDataNameColor:function (strDataNameColor) {
},
/**
* 设置文字位置
* @param {Array} arrDataNamePosition 文字位置
* @property {Array} DataNamePosition ["0%","-15%"]
*/
SetDataNamePosition:function (arrDataNamePosition) {
},
/**
* 文字字体大小
* @param {Number} nSize 文字字体大小
* @property {Number} DataNameSize 24
*/
SetDataNameSize:function (nSize) {
},
/**
* 数据大小
* @param {Number} nDataValue 数据大小
* @property {Number} DataValue 80
*/
SetDataValue:function (nDataValue) {
},
/**
* 获取大小
* @return {Number} 值的大小
*/
GetDataValue:function () {
},
/**
* 数据位置
* @param {Array} ArrDataPosition 数据位置
* @property {Array} DataPosition ["0%","10%"]
*/
SetDataPosition:function (ArrDataPosition) {
},
/**
* 设置数据颜色
* @param {String} StrDataColor 数据颜色
* @property {Color} DataColor "0xfffdfdfd"
*/
SetDataColor:function (StrDataColor) {
},
/**
* 数据尺寸
* @param {Number} nDataFontSize 数据尺寸
* @property {Number} DataFontSize 20
*/
SetDataFontSize:function (nDataFontSize) {
},
/**
* 设置小圆半径
* @param {String} StrSmallRadius 小圆半径
* @property {String} SmallRadius "18%"
*/
SetSmallRadius:function (StrSmallRadius) {
},
/**
* 设置小圆位置
* @param {Array} ArrSmallPosition 小圆位置
* @property {Array} SmallPosition ["50%","50%"]
*/
SetSmallPosition:function (ArrSmallPosition) {
},
/**
* 改变小圆颜色
* @param {String} StrSmallColor 小圆颜色
* @property {Color} SmallColor "0xff0C162E"
*/
SetSmallColor:function (StrSmallColor) {
},
/**
* 设置大圆半径
* @param {String} StrBigRadius 大圆半径
* @property {String} BigRadius "30%"
*/
SetBigRadius:function (StrBigRadius) {
},
/**
* 设置大圆位置
* @param {Array} arrBigPosition 大圆位置
* @property {Array} BigPosition ["50%","50%"]
*/
SetBigPosition:function (arrBigPosition) {
},
/**
* 改变大圆颜色
* @param {String} strBigColor 大圆颜色
* @property {Color} BigColor "0xff12274D"
*/
SetBigColor:function (strBigColor) {
},
/**
* 改变整体仪表盘大小
* @param {Number} nSize 整体大小
* @property {Number} DashboardSize 90
*/
SetDashboardSize:function (nSize) {
},
}