/**
* @constructor
*/
function XUISimpleDoubleLine() {
}
XUISimpleDoubleLine.prototype = {
//组件
/**
"legend1":{
"title":"图例1",
"name":"legend1",
"type":"PUILegendInterface",
"index":0
}*/
/**
"legend2":{
"title":"图例2",
"name":"legend2",
"type":"PUILegendInterface",
"index":1
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"line1":{
"title":"折线图1",
"name":"line1",
"type":"PUILineInterface",
"index":0
}*/
/**
"line2":{
"title":"折线图2",
"name":"line2",
"type":"PUILineInterface",
"index":1
}*/
//接口
/**
* 设置图标大小
* @param {Number} nIndex 下标
* @param {Number} nWidth 宽度
* @param {Number} nHeight 高度
* @property {Collection} LegendIconSize [0,15,15]
*/
SetLegendIconSize:function (nIndex,nWidth,nHeight) {
},
/**
* 设置图例位置
* @param {Number} nIndex 下标
* @param {String} strTop 垂直位置
* @param {String} strLeft 水平位置
* @property {Collection} LegendPosition [0,"6%","48%"]
*/
SetLegendPosition:function (nIndex,strTop,strLeft) {
},
/**
* 设置右侧图例间距
* @param {Number} nGap 间距
* @property {Number} RightLegendItemGap 7
*/
SetRightLegendItemGap:function (nGap) {
},
/**
* 设置图例文字大小
* @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 {Number} nIndex 下标
* @param {Number} nSize 拐点大小
* @property {Collection} SymbolSize [0,4]
*/
SetSymbolSize:function (nIndex,nSize) {
},
/**
* 设置拐点颜色
* @param {Number} nIndex 下标
* @param {String} strColor 拐点颜色
* @property {Collection} SymbolColor [0,"0xffFFFFFF"]
*/
SetSymbolColor:function (nIndex,strColor) {
},
/**
* 设置蓝线区域填充色
* @param {String} strColor1 区域填充色1
* @param {String} strColor2 区域填充色2
* @property {Collection} FirstLineAreaColor ["0xff19407B","0xff0C1B30"]
*/
SetFirstLineAreaColor:function (strColor1,strColor2) {
},
/**
* 设置折线颜色
* @param {Number} nIndex 下标
* @param {String} strColor 折线颜色
* @property {Collection} LineColor [0,"0xff3355B5"]
*/
SetLineColor:function (nIndex,strColor) {
},
/**
* 设置折线宽度
* @param {Number} nIndex 下标
* @param {Number} nWidth 折线宽度
* @property {Collection} LineWidth [0,2]
*/
SetLineWidth:function (nIndex,nWidth) {
},
/**
* 设置折线数据
* @param {Number} nIndex 下标
* @param {Array} arrData 折线数据
*/
SetLineData:function (nIndex,arrData) {
},
/**
* 修改一个数据
* @param {Number} nIndex1 折线下标
* @param {Number} nIndex2 数据下标
* @param {Number} arrData 折线数据
*/
SetData:function (nIndex1,nIndex2,arrData) {
},
/**
* 增加一组数据
* @param {Number} nData1 数据1
* @param {Number} nData2 数据2
*/
AddLineData:function (nData1,nData2) {
},
/**
* 每个线删除一个数据
*/
DeleteLineData:function () {
},
/**
* 删除一根线
* @param {Number} nIndex 要删除的数据线下标
*/
DeleteOneLineData:function (nIndex) {
},
/**
* 删除所有数据
*/
ClearAllData:function () {
},
/**
* 获得一条折线的数据
* @param {Number} nIndex 要获得的数据线下标
*/
GetLineData:function (nIndex) {
},
/**
* 数据改变动画
*/
animationChange:function () {
},
}