/**
* @constructor
*/
function XUIBamboBar() {
}
XUIBamboBar.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
}*/
//接口
/**
* 设置背景色
* @param {String} strColor 背景色
* @property {Color} BgColor "0xff09225B"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 设置X轴标签文字大小
* @param {Number} nXSize X轴标签文字大小
* @property {Number} XAxisTextSize 24
*/
SetXAxisTextSize:function (nXSize) {
},
/**
* 设置y轴标签文字大小
* @param {Number} nYSize y轴标签文字大小
* @property {Number} YAxisTextSize 24
*/
SetYAxisTextSize:function (nYSize) {
},
/**
* 设置X轴名称
* @param {String} strXName X轴名称
* @property {String} XAxisName ""
*/
SetXAxisName:function (strXName) {
},
/**
* 设置Y轴名称
* @param {String} strYName y轴名称
* @property {String} YAxisName ""
*/
SetYAxisName:function (strYName) {
},
/**
* 设置X轴名称大小
* @param {Number} nXSize X轴名称大小
* @property {Number} XAxisNameSize 20
*/
SetXAxisNameSize:function (nXSize) {
},
/**
* 设置Y轴名称大小
* @param {Number} nYSize Y轴名称大小
* @property {Number} YAxisNameSize 20
*/
SetYAxisNameSize:function (nYSize) {
},
/**
* 增加数据
* @param {String} strTime x轴添加时间
* @param {Number} nData y轴添加数据
*/
AddDataByTime:function (strTime,nData) {
},
/**
* 设置一组数据
* @param {Array} arrData
* @property {Array} setArr [11, 16, 25, 12, 15, 22, 10, 13, 21, 16, 23]
*/
SetArrData:function (arrData) {
},
/**
* 获取数据
* @return {Array} 数据
*/
GetDataAll:function () {
},
/**
* 设置单个数据
* @param {Number} nIndex
* @param {Number} nData
* @property {Collection} DataByIndex [0,11]
*/
SetDataByIndex:function (nIndex,nData) {
},
/**
* 获取单个数据
* @param {Number} nIndex
* @return {Number} 单个数据
*/
GetDataByIndex:function (nIndex) {
},
/**
* 修改填充的渐变色
* @param {String} strColor1 颜色1
* @param {String} strColor2 颜色2
*/
SetAreaColor:function (strColor1,strColor2) {
},
/**
* 删除一组数据
* @param {Number} nIndex
*/
DelDataByIndex:function (nIndex) {
},
/**
* 删除全部数据
*/
DelDataAll:function () {
},
/**
* 修改X轴数据
* @param {Array} arrData 数据数组
* @property {Array} ArrData ["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} 全部数据
*/
GetData: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) {
},
}