/**
* @constructor
*/
function XUIColumnar() {
}
XUIColumnar.prototype = {
//组件
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis1":{
"title":"y轴1",
"name":"yAxis1",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"yAxis2":{
"title":"y轴2",
"name":"yAxis2",
"type":"PUIYAxisInterface",
"index":1
}*/
/**
"bar1":{
"title":"柱状图1",
"name":"bar1",
"type":"PUIBarInterface",
"index":0
}*/
/**
"bar2":{
"title":"柱状图2",
"name":"bar2",
"type":"PUIBarInterface",
"index":1
}*/
//接口
/**
* 设置选中显示
* @param {Number} nIndex 下标
*/
SetSelect:function (nIndex) {
},
/**
* 设置背景颜色
* @param {String} strColor 背景颜色
* @property {Color} BackgroundColor "0xff06122C"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 设置类目名称
* @param {Array} arrCategoryNames 类目名称
* @property {Array} CategoryNames ["陆军","海军","空军","火箭军","战略支援","武警"]
*/
SetCategoryNames:function (arrCategoryNames) {
},
/**
* 设置刻度标签与轴线之间的距离
* @param {Number} nAxisMargin 刻度标签与轴线间距离
* @property {Number} AxisMargin 25
*/
SetAxisMargin:function (nAxisMargin) {
},
/**
* 设置刻度标签字体大小
* @param {Number} nAxisTextSize 刻度标签字体大小
* @property {Number} AxisTextSize 20
*/
SetAxisTextSize:function (nAxisTextSize) {
},
/**
* 设置刻度标签字体颜色
* @param {String} strColor 刻度标签字体颜色
* @property {Color} AxisTextColor "0xff7B8DB9"
*/
SetAxisTextColor:function (strColor) {
},
/**
* 设置背景柱宽
* @param {Number} nBackgroundColumnSize 背景柱宽
* @property {Number} BackgroundColumnSize 40
*/
SetBackgroundColumnSize:function (nBackgroundColumnSize) {
},
/**
* 设置背景柱高度
* @param {Number} nMax 最大值
* @property {Number} BackgroundColumnHeight 15
*/
SetBackgroundColumnHeight:function (nMax) {
},
/**
* 获取背景柱高度
* @return {Number} 背景柱高度
*/
GetColumnHeight:function () {
},
/**
* 设置背景柱颜色
* @param {String} strColor 背景柱颜色
* @property {Color} BackgroundColumnColor "0xff1C2C50"
*/
SetBackgroundColumnColor:function (strColor) {
},
/**
* 设置背景柱圆角
* @param {Array} arrBackgroundColumnFillet 背景柱圆角
* @property {Array} BackgroundColumnFillet [50,50,0,0]
*/
SetBackgroundColumnFillet:function (arrBackgroundColumnFillet) {
},
/**
* 设置柱间距离
* @param {String} strColumnGap 柱间距离
* @property {String} ColumnGap "-100%"
*/
SetColumnGap:function (strColumnGap) {
},
/**
* 设置前置柱体宽
* @param {Number} nColumnSize 前置柱体宽
* @property {Number} ColumnSize 40
*/
SetColumnSize:function (nColumnSize) {
},
/**
* 设置前置柱体数据内容
* @param {Array} arrColumnData 前置柱体数据内容
* @property {Array} ColumnData [7,12,9,7,12,9]
*/
SetColumnData:function (arrColumnData) {
},
/**
* 获取全部数据
* @return {Array} 全部数据
*/
GetDataAll:function () {
},
/**
* 修改一组数据
* @param {Number} nIndex 索引
* @param {Number} nData 数据
* @property {Collection} DataByIndex [0,7]
*/
SetDataByIndex:function (nIndex,nData) {
},
/**
* 获取一组数据
* @param {Number} nIndex 索引
* @return {Number} 一组数据
*/
GetDataByIndex:function (nIndex) {
},
/**
* 增加一组数据
* @param {String} strName x轴名称
* @param {Number} nData 数据
*/
AddData:function (strName,nData) {
},
/**
* 删除一组数据
* @param {Number} nIndex 索引
*/
DelDataByIndex:function (nIndex) {
},
/**
* 删除全部数据
*/
DelDataAll:function () {
},
/**
* 设置前置柱体圆角
* @param {Array} arrColumnFillet 前置柱体圆角
* @property {Array} ColumnFillet [50,50,0,0]
*/
SetColumnFillet:function (arrColumnFillet) {
},
/**
* 设置前置柱体渐变色
* @param {String} strFirstColor 渐变色第一种颜色
* @param {String} strSecondColor 渐变色第二种颜色
* @param {Number} nStart 颜色起始位置
* @param {Number} nEnd 颜色结束位置
*/
SetColumnGradation:function (strFirstColor,strSecondColor,nStart,nEnd) {
},
/**
* 修改X轴一组名字
* @param {Number} nIndex 索引
* @param {String} strName X轴名字
* @property {Collection} xAxisNameByIndex [0,"陆军"]
*/
SetxAxisNameByIndex:function (nIndex,strName) {
},
/**
* 获取一组数据
* @param {Number} nIndex 索引
* @return {Number} 一组数据
*/
GetxAxisNameByIndex:function (nIndex) {
},
/**
* 修改X轴数据名字
* @param {Array} arrDataName X轴数据名字
* @property {Array} xAxisName ["陆军", "海军", "空军", "火箭军", "战略支援", "武警"]
*/
SetxAxisNameAll:function (arrDataName) {
},
/**
* 获取X轴数据名字
* @return {Array} 一组数据
*/
GetxAxisNameAll:function () {
},
/**
* 设置标签大小
* @param {Number} nWidth 标签宽度
* @param {Number} nHeight 标签高度
* @property {Collection} ColumnMarkPointSize [43,28]
*/
SetColumnMarkPointSize:function (nWidth,nHeight) {
},
/**
* 设置标签位置
* @param {Number} nHorPos 水平位置
* @param {Number} nVerPos 垂直位置
* @property {Collection} ColumnMarkPointPosition [35,0]
*/
SetColumnMarkPointPosition:function (nHorPos,nVerPos) {
},
/**
* 设置标签数据字体大小
* @param {Number} nSize 数据字体大小
* @property {Number} ColumnMarkPointValueSize 22
*/
SetColumnMarkPointValueSize:function (nSize) {
},
/**
* 设置柱体底部图片大小
* @param {Number} nWidth 宽度
* @param {Number} nHeight 高度
* @property {Collection} BarSymbolSize [28,4]
*/
SetBarSymbolSize:function (nWidth,nHeight) {
},
}