/**
* @constructor
*/
function XUIBarWithBackground() {
}
XUIBarWithBackground.prototype = {
//组件
/**
"bar":{
"title":"柱状图",
"name":"bar",
"type":"PUIBarInterface",
"index":0
}*/
/**
"xAxis":{
"title":"X轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"Y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
//接口
/**
* 修改柱状图数据
* @param {Array} arrData 柱状图数据
* @property {Array} DataAll [120,200,150,80,70,110,130]
*/
SetDataAll:function (arrData) {
},
/**
* 获取柱状图数据
* @return {Array} 数据值
*/
GetDataAll:function () {
},
/**
* 修改柱状图一条数据
* @param {Number} nIndex 索引
* @param {Number} nData 柱状图数据
* @property {Collection} DataByIndex [0,120]
*/
SetDataByIndex:function (nIndex,nData) {
},
/**
* 获取柱状图数据通过索引
* @param {Number} nIndex 索引
* @return {Number} 数据值
*/
GetDataByIndex:function (nIndex) {
},
/**
* 修改X轴类目数据
* @param {Array} arrData X轴类目数据
* @property {Array} XAxisDataAll ["周一","周二","周三","周四","周五","周六","周日"]
*/
SetXAxisDataAll:function (arrData) {
},
/**
* 获取X轴类目数据
* @return {Array} 数据值
*/
GetXAxisDataAll:function () {
},
/**
* 修改X轴类目一条名称
* @param {Number} nIndex 索引
* @param {String} strData X轴类目名称
* @property {Collection} XAxisDataByIndex [0,"周一"]
*/
SetXAxisDataByIndex:function (nIndex,strData) {
},
/**
* 获取X轴类目数据通过索引
* @param {Number} nIndex 索引
* @return {String} 数据值
*/
GetXAxisDataByIndex:function (nIndex) {
},
/**
* 添加一条数据
* @param {String} strName x轴名称
* @param {Number} nData 柱状图数据
*/
AddOneData:function (strName,nData) {
},
/**
* 删除一条数据
* @param {Number} nIndex 索引
*/
DelOneData:function (nIndex) {
},
/**
* 删除全部数据
*/
DelAllData:function () {
},
}