/**
* @constructor
*/
function XUIArrowsAbbrBar() {
}
XUIArrowsAbbrBar.prototype = {
//组件
/**
"XAxis0":{
"title":"x轴0",
"name":"XAxis0",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"XAxis1":{
"title":"x轴1",
"name":"XAxis1",
"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":2
}*/
/**
"pictorialBar4":{
"title":"象形图4",
"name":"pictorialBar4",
"type":"PUIPictorialBarInterface",
"index":6
}*/
/**
"pictorialBar5":{
"title":"象形图5",
"name":"pictorialBar5",
"type":"PUIPictorialBarInterface",
"index":7
}*/
/**
"bar1":{
"title":"柱状图1",
"name":"bar1",
"type":"PUIBarInterface",
"index":3
}*/
/**
"bar2":{
"title":"柱状图2",
"name":"bar2",
"type":"PUIBarInterface",
"index":8
}*/
/**
"scatter1":{
"title":"散点图1",
"name":"scatter1",
"type":"PUIScatterInterface",
"index":4
}*/
/**
"scatter2":{
"title":"散点图2",
"name":"scatter2",
"type":"PUIScatterInterface",
"index":5
}*/
//接口
/**
* 数据
* @param {Array} arrData 数据
* @property {Array} Data [0,0,0,0,0,0,0]
*/
SetData:function (arrData) {
},
/**
* 柱宽
* @param {Number} nWidth 柱宽
* @property {Number} BarWidth 40
*/
SetBarWidth:function (nWidth) {
},
/**
* 通过索引设置x轴图片路径
* @param {Number} nIndex x轴刻度索引
* @param {ImageProp} strImage 图片路径
*/
SetXaxisImageByIndex:function (nIndex,strImage) {
},
/**
* 设置x轴图片路径
* @param {Array} arrImage 图片路径
* @property {Array} XaxisImage ["common_2dChart/XUIArrowsAbbrBar/images/2020-01-31_165509.png","common_2dChart/XUIArrowsAbbrBar/images/2020-02-01_093620.png","common_2dChart/XUIArrowsAbbrBar/images/2020-02-01_094938.png","common_2dChart/XUIArrowsAbbrBar/images/2020-02-01_094950.png","common_2dChart/XUIArrowsAbbrBar/images/2020-02-01_094959.png","common_2dChart/XUIArrowsAbbrBar/images/2020-02-01_095007.png","common_2dChart/XUIArrowsAbbrBar/images/2020-02-01_095029.png"]
*/
SetXaxisImage:function (arrImage) {
},
/**
* x轴图片大小
* @param {Number} nSize 图片大小
* @property {Number} XaxisImageSize 21
*/
SetXaxisImageSize:function (nSize) {
},
/**
* 增加一个数据
* @param {String} strName x轴数据名
* @param {ImageProp} strImage 图片路径
* @param {Number} nData 数据
* @property {Collection} AddData ["","",15]
*/
AddData:function (strName,strImage,nData) {
},
/**
* 删除一个数据
* @param {Number} nIndex x轴索引
*/
DeleteData:function (nIndex) {
},
/**
* 查找一个数据
* @param {Number} nIndex x轴索引
* @return {Number} 一个数据
*/
GetDataByIndex:function (nIndex) {
},
/**
* 查找数据
* @return {Array} 数据
*/
GetAllDataByIndex:function () {
},
/**
* 修改一个数据
* @param {Number} nIndex x轴索引
* @param {Number} nData 数据
*/
ModifyDataByIndex:function (nIndex,nData) {
},
/**
* 数据字体大小
* @param {Number} nSize 字体大小
* @property {Number} DataFontSize 16
*/
SetDataFontSize:function (nSize) {
},
/**
* 数据字体颜色
* @param {String} strColor 字体颜色
* @property {Color} DataFontColor "0xff3e78ec"
*/
SetDataFontColor:function (strColor) {
},
/**
* x轴字体大小
* @param {Number} nSize 字体大小
* @property {Number} XaxisFontSize 16
*/
SetXaxisFontSize:function (nSize) {
},
/**
* x轴字体颜色
* @param {String} strColor 字体颜色
* @property {Color} XaxisFontColor "0xff7c8db8"
*/
SetXaxisFontColor:function (strColor) {
},
/**
* y轴字体颜色
* @param {String} strColor 字体颜色
* @property {Color} YaxisFontColor "0xff0000ff"
*/
SetYaxisFontColor:function (strColor) {
},
/**
* y轴字体大小
* @param {Number} nSize 字体大小
* @property {Number} YaxisFontSize 16
*/
SetYaxisFontSize:function (nSize) {
},
/**
* x轴刻度标签
* @param {Array} arrLable 标签
* @property {Array} XaxisTickLable ["示例1","示例2","示例3","示例4","示例5","示例6","示例7"]
*/
SetXaxisTickLable:function (arrLable) {
},
/**
* 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 {Number} nMin 最小值
* @param {Number} nMax 最大值
* @property {Collection} YaxisValueArea [0,600]
*/
SetYaxisValueArea:function (nMin,nMax) {
},
/**
* 图表位置
* @param {Array} arrPos 位置
*/
SetPosition:function (arrPos) {
},
}