/**
* @constructor
*/
function XUICapacityPictogram() {
}
XUICapacityPictogram.prototype = {
//组件
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"line":{
"title":"折线图",
"name":"line",
"type":"PUILineInterface",
"index":0
}*/
//接口
/**
* 设置图标大小
* @param {Number} nWidth 宽度
* @param {Number} nHeight 高度
* @property {Collection} LegendIconSize [28,28]
*/
SetLegendIconSize:function (nWidth,nHeight) {
},
/**
* 设置图例位置
* @param {Number} nIndex 下标
* @param {String} strTop 垂直位置
* @param {String} strLeft 水平位置
* @property {Collection} LegendPosition [0,"1%","2%"]
*/
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} strColor1 填充色1
* @param {String} strColor2 填充色2
* @property {Collection} LineAreaColor ["0xff55DBE1","0xff0F446E"]
*/
SetLineAreaColor:function (strColor1,strColor2) {
},
/**
* 设置数据
* @param {Array} arrData 数据
* @property {Array} LineData [4, 6, 8, 5, 6, 7, 4, 6, 8, 5, 6, 7]
*/
SetLineData:function (arrData) {
},
/**
* 通过下标修改数据
* @param {Number} nIndex 下标
* @param {Number} nData 数据
* @property {Collection} LineDataByIndex [0,4]
*/
SetLineDataByIndex:function (nIndex,nData) {
},
/**
* 添加一组数据
* @param {Number} nData 数据
*/
AddData:function (nData) {
},
/**
* 删除一组数据
* @param {Number} nIndex 下标
*/
DeleteData:function (nIndex) {
},
/**
* 数据改变动画
*/
animationChange:function () {
},
}