/**
* @constructor
*/
function XUICrossWiseBar() {
}
XUICrossWiseBar.prototype = {
//组件
/**
"Bar":{
"title":"柱状图",
"name":"Bar",
"type":"PUIBarInterface",
"index":0
}*/
/**
"PictorialBar1":{
"title":"象形柱状图1",
"name":"PictorialBar1",
"type":"PUIPictorialBarInterface",
"index":1
}*/
/**
"PictorialBar2":{
"title":"象形柱状图2",
"name":"PictorialBar2",
"type":"PUIPictorialBarInterface",
"index":2
}*/
/**
"PictorialBar3":{
"title":"象形柱状图3",
"name":"PictorialBar3",
"type":"PUIPictorialBarInterface",
"index":3
}*/
/**
"PictorialBar4":{
"title":"象形柱状图4",
"name":"PictorialBar4",
"type":"PUIPictorialBarInterface",
"index":4
}*/
/**
"Legend":{
"title":"图例",
"name":"Legend",
"type":"PUILegendInterface",
"index":0
}*/
//接口
/**
* 背景颜色
* @param {String} strColor
* @property {Color} BackgroundColor "0xff222939"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 按序设值颜色
* @param {Number} nIndex 索引
* @param {String} strColor 数据颜色
* @property {Collection} DataColorByIndex [0,"0xff00a8ff"]
*/
SetDataColorByIndex:function (nIndex,strColor) {
},
/**
* 按序设背景色
* @param {Number} nIndex 索引
* @param {String} strColor 数据背景颜色
* @property {Collection} DataBgColor [0,"0xff1a3043"]
*/
SetDataBgColorByIndex:function (nIndex,strColor) {
},
/**
* 柱子高度
* @param {Number} nBarWidth
* @property {Number} BarHeight 25
*/
SetBarHeight:function (nBarWidth) {
},
/**
* 柱子间距
* @param {Number} nTopGap 上间距
* @param {Number} nBotGap 下间距
* @property {Collection} BothSizeGap [1,20]
*/
SetBothSizeGap:function (nTopGap,nBotGap) {
},
/**
* 添加数据
* @param {String} strName 数据名称
* @param {Number} nValue 数据值
* @param {String} strColor 柱子颜色
* @param {String} strBgColor 柱子背景颜色
*/
AddData:function (strName,nValue,strColor,strBgColor) {
},
/**
* 按序设置数据
* @param {Number} nIndex 索引
* @param {Number} nData 数值
* @property {Collection} SetDataByIndex [0,25]
*/
SetDataByIndex:function (nIndex,nData) {
},
/**
* 最大值
* @param {Number} nValue 100
* @property {Number} MaxValue 100
*/
SetMaxValue:function (nValue) {
},
/**
* 按索引删除值
* @param {Number} nIndex
*/
DeleteDataByIndex:function (nIndex) {
},
/**
* 设置数据提示位置
* @param {Number} nIndex
* @param {Number} nOffsetX
*/
SetMarkPosByIndex:function (nIndex,nOffsetX) {
},
/**
* 清空数据
*/
ClearData:function () {
},
/**
* 图例文本颜色
* @param {String} strColor
* @property {Color} LegendFontColor "0xffffffff"
*/
SetLegendFontColor:function (strColor) {
},
/**
* 图例文字大小
* @param {Number} nSize
* @property {Number} LegendFontSize 24
*/
SetLegendFontSize:function (nSize) {
},
/**
* 翻页大小
* @param {Number} nSize
* @property {Number} RectSize 24
*/
SetRectSize:function (nSize) {
},
/**
* 图例位置
* @param {String} strLeft 距左侧百分比
* @param {String} strBottom 距下方百分比
* @property {Collection} LegendPos ["center","2%"]
*/
SetLegendPos:function (strLeft,strBottom) {
},
/**
* 图例icon大小
* @param {Number} nSize
* @property {Number} LegendIconSize 24
*/
SetLegendIconSize:function (nSize) {
},
/**
* 图例形状
* @param {String} strShap
* @property {Combo} LegendIconShap ["rect","roundRect","circle","triangle","diamond","pin","arrow","none"]
*/
SetLegendIconShap:function (strShap) {
},
/**
* 柱子边框颜色
* @param {String} strColor
* @property {Color} BarBorderColor "0xff464a49"
*/
SetBarBorderColor:function (strColor) {
},
/**
* 柱边框大小
* @param {Number} nSize
* @property {Number} BarBorderSize 1
*/
SetBarBorderSize:function (nSize) {
},
}