/**
* @constructor
*/
function XUIAbbrBar() {
}
XUIAbbrBar.prototype = {
//组件
/**
"xAxis1":{
"title":"x轴1",
"name":"xAxis1",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"xAxis2":{
"title":"x轴2",
"name":"xAxis2",
"type":"PUIXAxisInterface",
"index":1
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"pictorialBar1":{
"title":"象形图1",
"name":"pictorialBar1",
"type":"PUIPictorialBarInterface",
"index":0
}*/
/**
"pictorialBar2":{
"title":"象形图2",
"name":"pictorialBar2",
"type":"PUIPictorialBarInterface",
"index":1
}*/
/**
"pictorialBar3":{
"title":"象形图3",
"name":"pictorialBar3",
"type":"PUIPictorialBarInterface",
"index":3
}*/
/**
"pictorialBar4":{
"title":"象形图4",
"name":"pictorialBar4",
"type":"PUIPictorialBarInterface",
"index":4
}*/
/**
"bar1":{
"title":"柱状图1",
"name":"bar1",
"type":"PUIBarInterface",
"index":2
}*/
/**
"bar2":{
"title":"柱状图2",
"name":"bar2",
"type":"PUIBarInterface",
"index":5
}*/
//接口
/**
* 数据
* @param {Array} arrData 数据
* @property {Array} Data [0,0,0]
*/
SetData:function (arrData) {
},
/**
* 获取全部数据
* @return {Array} 全部数据
*/
GetDataAll:function () {
},
/**
* 修改一组数据
* @param {Number} nIndex 索引
* @param {Number} nData 数据
* @property {Collection} DataByIndex [0,0]
*/
SetDataByIndex:function (nIndex,nData) {
},
/**
* 获取一组数据
* @param {Number} nIndex 索引
* @return {Array} 一组数据
*/
GetDataByIndex:function (nIndex) {
},
/**
* 柱高
* @param {Number} nHeight 柱高
* @property {Number} BarHeight 100
*/
SetBarHeight:function (nHeight) {
},
/**
* 柱宽
* @param {Number} nWidth 柱宽
* @property {Number} BarWidth 20
*/
SetBarWidth:function (nWidth) {
},
/**
* 数据字体大小
* @param {Number} nSize 字体大小
* @property {Number} DataFontSize 10
*/
SetDataFontSize:function (nSize) {
},
/**
* 数据字体颜色
* @param {String} strColor 字体颜色
* @property {Color} DataFontColor "0xff3E78EC"
*/
SetDataFontColor:function (strColor) {
},
/**
* x轴字体大小
* @param {Number} nSize 字体大小
* @property {Number} XaxisFontSize 12
*/
SetXaxisFontSize:function (nSize) {
},
/**
* x轴字体颜色
* @param {String} strColor 字体颜色
* @property {Color} XaxisFontColor "0xff7C8DB8"
*/
SetXaxisFontColor:function (strColor) {
},
/**
* x轴刻度标签
* @param {Array} arrLable 标签
* @property {Array} XaxisTickLable ["示例数据1", "示例数据2", "示例数据3"]
*/
SetXaxisTickLable:function (arrLable) {
},
/**
* 获取x轴刻度标签
* @return {Array} x轴刻度标签
*/
GetXaxisTickLable:function () {
},
/**
* x轴一组标签
* @param {Number} nIndex 标签索引
* @param {String} strName 标签
* @property {Collection} XaxisLableByIndex [0,"示例数据1"]
*/
SetXaxisLableByIndex:function (nIndex,strName) {
},
/**
* 获取x轴一组标签
* @param {Number} nIndex 标签索引
* @return {String} x轴一组标签
*/
GetXaxisLableByIndex:function (nIndex) {
},
/**
* x轴线颜色
* @param {String} strColor 字体颜色
* @property {Color} XaxisLineColor "0xff343B58"
*/
SetXaxisLineColor:function (strColor) {
},
/**
* y轴线颜色
* @param {String} strColor 字体颜色
* @property {Color} YaxisLineColor "0xff343B58"
*/
SetYaxisLineColor:function (strColor) {
},
/**
* x轴线宽度
* @param {Number} nWidth 轴线宽度
* @property {Number} XaxisLineWidth 1
*/
SetXaxisLineWidth:function (nWidth) {
},
/**
* y轴线宽度
* @param {Number} nWidth 轴线宽度
* @property {Number} YaxisLineWidth 1
*/
SetYaxisLineWidth:function (nWidth) {
},
/**
* y轴名字
* @param {String} strName 名字
* @property {String} YaxisName "时间/天"
*/
SetYaxisName:function (strName) {
},
/**
* y轴名字颜色
* @param {String} strColor 字体颜色
* @property {Color} YaxisNameColor "0xff343B58"
*/
SetYaxisNameColor:function (strColor) {
},
/**
* y轴名字大小
* @param {Number} nSize 字体大小
* @property {Number} YaxisNameSize 14
*/
SetYaxisNameSize:function (nSize) {
},
/**
* y轴名字位置
* @param {String} strPosition 名字位置
* @property {String} YaxisNamePosition "middle"
*/
SetYaxisNamePosition:function (strPosition) {
},
/**
* 图表位置
* @param {Array} arrPos 位置
* @property {Array} Position [0,0,0,0]
*/
SetPosition:function (arrPos) {
},
/**
* 设置x轴名显示间隔
* @param {Number} nInterval 显示间隔
* @property {Number} XAxisLabelInterval 0
*/
SetXAxisLabelInterval:function (nInterval) {
},
/**
* 设置数据显示间隔
* @param {Number} nInterval 显示间隔
* @property {Number} DataLabelInterval 0
*/
SetDataLabelInterval:function (nInterval) {
},
/**
* 设置数据框内边距
* @param {Array} arrPad 内边距
* @property {Array} DataLabelPadding [15,30,10,30]
*/
SetDataLabelPadding:function (arrPad) {
},
}