/**
* @constructor
*/
function XUIBasePictorialBar() {
}
XUIBasePictorialBar.prototype = {
//组件
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"pictorialBar":{
"title":"象形柱状图",
"name":"pictorialBar",
"type":"PUIPictorialBarInterface",
"index":0
}*/
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
//接口
/**
* 增加数据
* @param {String} strTime x轴添加时间
* @param {Number} nData y轴添加数据
*/
SetDataByTime:function (strTime,nData) {
},
/**
* 获取一组数据
* @param {String} strTime x轴时间
* @return {Number} 对应数据
*
*/
GetDataByTime:function (strTime) {
},
/**
* 修改全部数据
* @param {Array} arrData 数据数组
* @property {Array} ArrData [11, 16, 25, 12, 15, 22, 10, 13, 21, 16, 23]
*/
SetArrData:function (arrData) {
},
/**
* 获取全部数据
* @return {Array} 全部数据
*/
GetData:function () {
},
/**
* 删除一组数据
* @param {Number} nIndex
*/
DelDataByIndex:function (nIndex) {
},
/**
* 删除全部数据
*/
DelDataAll:function () {
},
/**
* 修改填充的渐变色
* @param {String} strColor1 颜色1
* @param {String} strColor2 颜色2
*/
SetAreaColor:function (strColor1,strColor2) {
},
/**
* 修改X轴数据
* @param {Array} arrData 数据数组
* @property {Array} AxisData ["12:00", "12:05", "12:10", "12:15", "12:20", "12:25", "12:30", "12:35", "12:40", "12:45", "12:50"]
*/
SetxAxisData:function (arrData) {
},
/**
* 获取X轴全部数据
* @return {Array} 全部数据
*/
GetXData:function () {
},
/**
* 修改X轴类目名称
* @param {Number} nIndex 索引
* @param {String} strName 数据
* @property {Collection} xAxisDataByIndex [0,"12:00"]
*/
SetxAxisDataByIndex:function (nIndex,strName) {
},
/**
* 获取X轴一组数据
* @param {Number} nIndex 索引
* @return {String} 一组数据
*/
GetxAxisDataByIndex:function (nIndex) {
},
}