/**
* @constructor
*/
function XUIBarLine() {
}
XUIBarLine.prototype = {
//组件
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
/**
"legend1":{
"title":"图例1",
"name":"legend1",
"type":"PUILegendInterface",
"index":1
}*/
/**
"legend2":{
"title":"图例2",
"name":"legend2",
"type":"PUILegendInterface",
"index":2
}*/
/**
"xAxis":{
"title":"X轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"Y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"bar":{
"title":"柱状图",
"name" :"bar",
"type":"PUIBarInterface",
"index":0
}*/
/**
"line":{
"title":"折线图",
"name":"line",
"type":"PUILineInterface",
"index":1
}*/
//接口
/**
* 设置图标大小
* @param {Number} nWidth 宽度
* @param {Number} nHeight 高度
* @property {Collection} LegendIconSize [30,30]
*/
SetLegendIconSize:function (nWidth,nHeight) {
},
/**
* 设置图例位置
* @param {Number} nIndex 下标
* @param {String} strTop 垂直位置
* @param {String} strLeft 水平位置
* @property {Collection} LegendPosition [0,"2%","1%"]
*/
SetLegendPosition:function (nIndex,strTop,strLeft) {
},
/**
* 设置图例文字大小
* @param {Number} nIndex 下标
* @param {Number} nSize 字体大小
* @property {Collection} LegendTextSize [0,16]
*/
SetLegendTextSize:function (nIndex,nSize) {
},
/**
* 设置图例文字颜色
* @param {Number} nIndex 下标
* @param {String} strColor 文字颜色
* @property {Collection} LegendTextColor [0,"0xffc9cdea"]
*/
SetLegendTextColor:function (nIndex,strColor) {
},
/**
* 设置区域填充色
* @param {String} strColor 区域填充色
* @property {Color} LineAreaColor "0xffffffff"
*/
SetLineAreaColor:function (strColor) {
},
/**
* 设置折线拐点大小
* @param {Number} nSize 拐点大小
* @property {Number} LineItemSize 5
*/
SetLineItemSize:function (nSize) {
},
/**
* 设置折线拐点颜色
* @param {String} strColor 拐点颜色
* @property {Color} LineItemColor "0xff6acac1"
*/
SetLineItemColor:function (strColor) {
},
/**
* 设置折线拐点边框色
* @param {String} strColor 拐点边框色
* @property {Color} LineItemBorderColor "0xff00101e"
*/
SetLineItemBorderColor:function (strColor) {
},
/**
* 设置折线拐点边框宽度
* @param {Number} nWidth 拐点边框宽度
* @property {Number} LineItemBorderWidth 2
*/
SetLineItemBorderWidth:function (nWidth) {
},
/**
* 设置折线颜色
* @param {String} strColor 折线颜色
* @property {Color} LineColor "0xff4d7caa"
*/
SetLineColor:function (strColor) {
},
/**
* 设置折线宽度
* @param {Number} nWidth 折线宽度
* @property {Number} LineWidth 2
*/
SetLineWidth:function (nWidth) {
},
/**
* 设置背景柱最大值
* @param {Number} nValue 最大值
* @property {Number} BarMaxValue 20
*/
SetBarMaxValue:function (nValue) {
},
/**
* 设置背景柱柱宽
* @param {Number} nWidth 柱宽
* @property {Number} BarWidth 2
*/
SetBarWidth:function (nWidth) {
},
/**
* 设置背景柱颜色
* @param {String} strColor 背景柱颜色
* @property {Color} BarColor "0xff0d1d32"
*/
SetBarColor:function (strColor) {
},
/**
* 设置折线数据
* @param {Array} arrData 折线数据
* @property {Array} LineData [9, 10, 11, 12, 13, 13.5, 12, 11, 10, 9, 11, 11.5]
*/
SetLineData:function (arrData) {
},
/**
* 通过下标修改数据
* @param {Number} nIndex 下标
* @param {Number} nValue 数据
* @property {Collection} LineDataByIndex [0,9]
*/
SetLineDataByIndex:function (nIndex,nValue) {
},
/**
* 增加数据
* @param {Array} arrValue 数据
*/
AddData:function (arrValue) {
},
/**
* 删除一个数据
* @param {Number} nIndex 数据下标
*/
DeleteDataByIndex:function (nIndex) {
},
/**
* 查询一个数据
* @param {Number} nIndex 数据下标
* @return {Number} 一个数据
*/
GetDataByIndex:function (nIndex) {
},
/**
* 查询所有数据
* @return {Array} 数据
*/
GetAllData:function () {
},
/**
* 删除所有折线数据
*/
DeleteAllData:function () {
},
/**
* 数据改变动画
*/
animationChange:function () {
},
}