/**
* @constructor
*/
function XUIBarYears() {
}
XUIBarYears.prototype = {
//组件
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
/**
"tooltip":{
"title":"提示框",
"name":"tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"bar0":{
"title":"柱状图0",
"name":"bar0",
"type":"PUIBarInterface",
"index":0
}*/
/**
"bar1":{
"title":"柱状图1",
"name":"bar1",
"type":"PUIBarInterface",
"index":1
}*/
/**
"bar2":{
"title":"柱状图2",
"name":"bar2",
"type":"PUIBarInterface",
"index":2
}*/
//接口
/**
* 背景颜色
* @param {String} strBackgroundColor 背景颜色
* @property {Color} BackgroundColor "0xffffffff"
*/
SetBackgroundColor:function (strBackgroundColor) {
},
/**
* 指示器类型
* @param {String} strStyle 指示器类型
* @property {Combo} AxisPointerStyle ["shadow","line"]
*/
SetAxisPointerStyle:function (strStyle) {
},
/**
* 提示框背景颜色
* @param {String} strColor 背景颜色
* @property {Color} ToolTipBgColor "0xff6b6b6b"
*/
SetToolTipBgColor:function (strColor) {
},
/**
* 提示框边框颜色
* @param {String} strColor 边框颜色
* @property {Color} ToolTipBorderColor "0x333333"
*/
SetToolTipBorderColor:function (strColor) {
},
/**
* 提示框边框宽
* @param {Number} nWidth 边框大小
* @property {Number} ToolTipBorderWidth 1
*/
SetToolTipBorderWidth:function (nWidth) {
},
/**
* 提示框文字颜色
* @param {String} strColor 文字颜色
* @property {Color} ToolTipColor "0xffffffff"
*/
SetToolTipColor:function (strColor) {
},
/**
* 提示框文字大小
* @param {Number} nSize 文字大小
* @property {Number} ToolTipFontSize 14
*/
SetToolTipFontSize:function (nSize) {
},
/**
* 网格背景颜色
* @param {String} strColor 网格背景颜色
* @property {Color} GridBgColor "0xffffffff"
*/
SetGridBgColor:function (strColor) {
},
/**
* 轴刻度标签对齐
* @param {Boolean} bAlign 是否对齐
* @property {Boolean} AlignWithLabel true
*/
SetAlignWithLabel:function (bAlign) {
},
/**
* x轴刻度线朝向
* @param {Boolean} bInside 是否朝内
* @property {Boolean} AxisTickInside true
*/
SetAxisTickInside:function (bInside) {
},
/**
* y轴刻度线朝向
* @param {Boolean} bInside 是否朝内
* @property {Boolean} YAxisTickInside true
*/
SetYAxisTickInside:function (bInside) {
},
/**
* x轴刻度线颜色
* @param {String} strColor 刻度线颜色
* @property {Color} AxisTickColor "0xff000000"
*/
SetAxisTickColor:function (strColor) {
},
/**
* y轴刻度线颜色
* @param {String} strColor 刻度线颜色
* @property {Color} YAxisTickColor "0xff000000"
*/
SetYAxisTickColor:function (strColor) {
},
/**
* x轴刻度线宽度
* @param {Number} nWidth 刻度宽度
* @property {Number} AxisTickWidth 1
*/
SetAxisTickWidth:function (nWidth) {
},
/**
* y轴刻度线宽度
* @param {Number} nWidth 刻度宽度
* @property {Number} YAxisTickWidth 1
*/
SetYAxisTickWidth:function (nWidth) {
},
/**
* x轴刻度线长
* @param {Number} nLength 刻度宽度
* @property {Number} AxisTickLength 5
*/
SetAxisTickLength:function (nLength) {
},
/**
* y轴刻度线长
* @param {Number} nLength 刻度宽度
* @property {Number} YAxisTickLength 5
*/
SetYAxisTickLength:function (nLength) {
},
/**
* x轴刻度线样式
* @param {String} strStyle 刻度线样式
* @property {Combo} AxisTickStyle ["solid","dashed","dotted"]
*/
SetAxisTickStyle:function (strStyle) {
},
/**
* y轴刻度线样式
* @param {String} strStyle 刻度线样式
* @property {Combo} YAxisTickStyle ["solid","dashed","dotted"]
*/
SetYAxisTickStyle:function (strStyle) {
},
/**
* x轴类目名称
* @param {Array} arrData 类目数据
*/
SetxAxisData:function (arrData) {
},
/**
* x轴数据标题
* @param {String} strName X轴名称
* @property {String} xAxisName ""
*/
SetxAxisName:function (strName) {
},
/**
* y轴数据标题
* @param {String} strName Y轴名称
* @property {String} yAxisName "示例名称"
*/
SetyAxisName:function (strName) {
},
/**
* x轴标题大小
* @param {Number} nSize 字体大小
* @property {Number} xAxisNameSize 12
*/
SetxAxisNameSize:function (nSize) {
},
/**
* y轴标题大小
* @param {Number} nSize 字体大小
* @property {Number} yAxisNameSize 12
*/
SetyAxisNameSize:function (nSize) {
},
/**
* 柱状图颜色
* @param {Number} nIndex 序号
* @param {String} strColor 柱状颜色
* @property {Collection} BarBgColor [0,"0xff02efff"]
*/
SetBarBgColorByIndex:function (nIndex,strColor) {
},
/**
* 柱状图宽度
* @param {Number} nIndex 序号
* @param {String} strWidth 柱状图宽度
* @property {Collection} BarWidth [0,"20%"]
*/
SetBarWidthByIndex:function (nIndex,strWidth) {
},
/**
* 增加一种示例数据
* @param {String} nName 示例数据名字
* @param {Array} arrData 示例数据内容
*/
SetBarDataObj:function (nName,arrData) {
},
/**
* 清除所有数据
*/
SetBarDelete:function () {
},
/**
* 柱状数据
* @param {Number} nIndex 序号
* @param {Array} arrData 数据
*/
SetSeriesBarData:function (nIndex,arrData) {
},
/**
* 图例名称
* @param {Number} nIndex 序号
* @param {String} strName 图例名字
* @property {Collection} LegendBarName [0,"示例1"]
*/
SetLegendBarNameByIndex:function (nIndex,strName) {
},
/**
* 按序号改数据
* @param {Number} nIndexKind 种类序号
* @param {Number} nIndexData 数据序号
* @param {Float} nValue 数据值
* @property {Collection} ColumData [0,0,43.3]
*/
SetColumData:function (nIndexKind,nIndexData,nValue) {
},
/**
* 增加一组数据
* @param {String} strGroup 组名
* @param {Array} arrData 数据
*/
AddGroupData:function (strGroup,arrData) {
},
/**
* 删除一组数据
* @param {Number} nIndex 下标
*/
DeleteGroupData:function (nIndex) {
},
/**
* 图例文本颜色
* @param {String} strLegendTextColor 图例的文本颜色
* @property {Color} LegendTextColor "0xff333333"
*/
SetLegendTextColor:function (strLegendTextColor) {
},
/**
* x轴文本颜色
* @param {String} strColor 文本颜色
* @property {Color} XLabelColor "0xff333333"
*/
SetXLabelColor:function (strColor) {
},
/**
* y轴文本颜色
* @param {String} strColor 文本颜色
* @property {Color} YLabelColor "0xff333333"
*/
SetYLabelColor:function (strColor) {
},
/**
* x轴文本大小
* @param {Number} nFont 文本大小
* @property {Number} nXFont 12
*/
SetXLabelSize:function (nFont) {
},
/**
* y轴文本大小
* @param {Number} nFont 文本大小
* @property {Number} nYFont 12
*/
SetYLabelSize:function (nFont) {
},
/**
* 图例文本大小
* @param {Number} nFont 文本大小
* @property {Number} nLegendFont 12
*/
SetLegendLabelSize:function (nFont) {
},
/**
* 图例形状
* @param {String} strShap
* @property {Combo} IconShap ["roundRect","rect","circle","triangle","diamond","pin","arrow","none"]
*/
SetIconShap:function (strShap) {
},
}