/**
* @constructor
*/
function XUIEnergyConsumptionBarLine() {
}
XUIEnergyConsumptionBarLine.prototype = {
//组件
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis1":{
"title":"y1轴",
"name":"yAxis1",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"yAxis2":{
"title":"y轴2",
"name":"yAxis2",
"type":"PUIYAxisInterface",
"index":1
}*/
/**
"grid":{
"title":"网格",
"name":"grid",
"type":"PUIGridInterface",
"index":0
}*/
/**
"legend1":{
"title":"图例1",
"name":"legend1",
"type":"PUILegendInterface",
"index":0
}*/
/**
"legend2":{
"title":"图例2",
"name":"legend2",
"type":"PUILegendInterface",
"index":1
}*/
/**
"title1":{
"title":"标题1",
"name":"title1",
"type":"PUITitleInterface",
"index":0
}*/
/**
"title2":{
"title":"标题2",
"name":"title2",
"type":"PUITitleInterface",
"index":1
}*/
/**
"title3":{
"title":"标题3",
"name":"title3",
"type":"PUITitleInterface",
"index":2
}*/
/**
"title4":{
"title":"标题4",
"name":"title4",
"type":"PUITitleInterface",
"index":3
}*/
/**
"line":{
"title":"折线图",
"name":"line",
"type":"PUILineInterface",
"index":3
}*/
/**
"bar1":{
"title":"柱状图1",
"name":"bar1",
"type":"PUIBarInterface",
"index":0
}*/
/**
"bar2":{
"title":"柱状图2",
"name":"bar2",
"type":"PUIBarInterface",
"index":1
}*/
/**
"pictorialBar":{
"title":"异型柱状图",
"name":"pictorialBar",
"type":"PUIPictorialBarInterface",
"index":2
}*/
//接口
/**
* 清空所有线
*/
RemoveAllLine:function () {
},
/**
* 清空所有柱状图
*/
RemoveAllBar:function () {
},
/**
* 清空x轴数据
*/
RemoveXAxisLableData:function () {
},
/**
* 设置x轴数据
* @param {Array} ArrLabel 标签数据
* @property {Array} XAxisLableData ["10/11周一", "10/12周二", "10/13周三", "10/14周四", "10/15周五", "10/16周六", "10/17周日"]
*/
SetXAxisLableData:function (ArrLabel) {
},
/**
* 添加x轴数据
* @param {String} strLabel 标签数据
*/
AddXAxisLableData:function (strLabel) {
},
/**
* 设置x轴类别显示间隔
* @param {Number} NumValue 数值
* @property {Number} IntervalValue 4
*/
SetXAxisLabelInterval:function (NumValue) {
},
/**
* 添加折线
* @param {String} strName 折线名称
* @property {String} LineName "firstLine"
*/
AddLineByName:function (strName) {
},
/**
* 添加柱状图
* @param {String} strName 柱状图名称
* @property {String} BarName "firstBar"
*/
AddBarByName:function (strName) {
},
/**
* 添加数据
* @param {String} strName 图形名称
* @param {String} xName x轴类别
* @param {Number} yValue 数值
*/
AddDataByName:function (strName,xName,yValue) {
},
/**
* 设置x轴标签一行显示几个字
* @param {Number} Num 数值
* @property {Number} Value 5
*/
SetLabelDisplay:function (Num) {
},
/**
* 设置数据
* @param {String} strCategory 数据名称
* @param {Array} arrValue 数值
*/
AddDataArr:function (strCategory,arrValue) {
},
/**
* 设置当日能耗
* @param {Number} nDailyEnergy 当日能耗数据
*/
SetDailyEnergy:function (nDailyEnergy) {
},
/**
* 设置累计能耗
* @param {Number} nCumulativeEnergy 设置累计能耗
*/
SetCumulativeEnergy:function (nCumulativeEnergy) {
},
}