/**
* @constructor
*/
function XUIBarCompositionSubsidiary() {
}
XUIBarCompositionSubsidiary.prototype = {
//组件
/**
"bar0":{
"title":"柱状图0",
"name":"bar0",
"type":"PUIBarInterface",
"index":0
}*/
/**
"bar1":{
"title":"柱状图1",
"name":"bar1",
"type":"PUIBarInterface",
"index":1
}*/
/**
"title":{
"title":"标题",
"name":"title",
"type":"PUITitleInterface",
"index":0
}*/
/**
"tooltip":{
"title":"提示框组件",
"name":"tooltip",
"type":"PUITooltipInterface",
"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 [1200, 300, 200, 900, 300]
*/
SetDataAll:function (arrData) {
},
/**
* 获取柱状图数据
* @return {Array} 数据值
*/
GetDataAll:function () {
},
/**
* 修改柱状图一条数据
* @param {Number} nIndex 索引
* @param {Number} nData 柱状图数据
* @property {Collection} DataByIndex [0,1200]
*/
SetDataByIndex:function (nIndex,nData) {
},
/**
* 获取柱状图数据通过索引
* @param {Number} nIndex 索引
* @return {Number} 数据值
*/
GetDataByIndex:function (nIndex) {
},
/**
* 获取柱状图数据总和
* @return {Number} 数据总和
*/
GetDataTotal:function () {
},
/**
* 修改X轴类目数据
* @param {Array} arrData X轴类目数据
* @property {Array} XAxisDataAll ["总计","组成一","组成二","组成三","组成四","组成五"]
*/
SetXAxisDataAll:function (arrData) {
},
/**
* 获取X轴类目数据
* @return {Array} X轴类目数据
*/
GetXAxisDataAll:function () {
},
/**
* 修改X轴类目一条名称
* @param {Number} nIndex 索引
* @param {String} strData X轴类目名称
* @property {Collection} XAxisDataByIndex [0,"总计"]
*/
SetXAxisDataByIndex:function (nIndex,strData) {
},
/**
* 获取X轴类目数据通过索引
* @param {Number} nIndex 索引
* @return {String} X轴类目数据
*/
GetXAxisDataByIndex:function (nIndex) {
},
/**
* 添加一条数据
* @param {String} strName x轴名称
* @param {Number} nData 柱状图数据
*/
AddOneData:function (strName,nData) {
},
/**
* 删除一条数据
* @param {Number} nIndex 索引
*/
DelOneData:function (nIndex) {
},
/**
* 删除全部数据
*/
DelAllData:function () {
},
}