/**
* @constructor
*/
function XUICompSive() {
}
XUICompSive.prototype = {
//组件
/**
"grid":{
"title":"直角坐标系内绘图网格",
"name":"grid",
"type":"PUIGridInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"Tooltip":{
"title":"提示框",
"name":"Tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"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
}*/
/**
"legend3":{
"title":"图例组件3",
"name":"legend3",
"type":"PUILegendInterface",
"index":3
}*/
/**
"legend4":{
"title":"图例组件4",
"name":"legend4",
"type":"PUILegendInterface",
"index":4
}*/
/**
"legend5":{
"title":"图例组件5",
"name":"legend5",
"type":"PUILegendInterface",
"index":5
}*/
/**
"title":{
"title":"标题组件",
"name":"title",
"type":"PUITitleInterface",
"index":0
}*/
/**
"title1":{
"title":"标题组件1",
"name":"title1",
"type":"PUITitleInterface",
"index":1
}*/
/**
"dataZoom":{
"title":"用于区域缩放",
"name":"dataZoom",
"type":"PUIDataZoomInsideInterface",
"index":0
}*/
/**
"Line":{
"title":"折线图",
"name":"Line",
"type":"PUILineInterface",
"index":0
}*/
/**
"Line1":{
"title":"折线图1",
"name":"Line1",
"type":"PUILineInterface",
"index":1
}*/
/**
"Line2":{
"title":"折线图2",
"name":"Line2",
"type":"PUILineInterface",
"index":2
}*/
/**
"Line3":{
"title":"折线图3",
"name":"Line3",
"type":"PUILineInterface",
"index":3
}*/
/**
"Line4":{
"title":"折线图4",
"name":"Line4",
"type":"PUILineInterface",
"index":4
}*/
/**
"Line5":{
"title":"折线图5",
"name":"Line5",
"type":"PUILineInterface",
"index":5
}*/
//接口
/**
* 设置背景色
* @param {String} strColor 背景色
* @property {Color} BgColor "0xff09225B"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 设置一组数据
* @param {Number} nIndex 索引
* @param {Array} arrData 数据
* @property {Array} setArr [11,16,25,12,15,22,10,13,21,16,23]
*/
SetArrData:function (nIndex,arrData) {
},
/**
* 设置X轴标签名称
* @param {Array} arrLab
* @property {Array} setArrLabel ["12:00","12:05","12:10","12:15","12:20","12:25","12:30","12:35","12:40","12:45","12:50"]
*/
SetxAxisLabel:function (arrLab) {
},
/**
* 添加一条折线
* @param {String} strName 添加的线名称如有图列和图列数据名称一致
* @param {Array} arrData 添加线的数据
*/
AddLine:function (strName,arrData) {
},
/**
* 设置所有折线不开启平滑处理
* @param {Boolean} bSmooth
* @property {Boolean} bSmoothLines false
*/
SetLinesSmooth:function (bSmooth) {
},
/**
* 设置X轴和数据无留白
* @param {Boolean} bBoGap
* @property {Boolean} bXAxisBoGap false
*/
SetXAxisBoGap:function (bBoGap) {
},
/**
* 按索引设置折线的区域渐变
* @param {Number} nIndex
* @param {String} strColor1 颜色1
* @param {String} strColor2 颜色2
* @param {String} strColor3 颜色3
* @property {Collection} AreaColorByIndex [1,"0xB25e30e0","0x195e30e0","0x0c5e30e0"]
*/
SetAreaColorByIndex:function (nIndex,strColor1,strColor2,strColor3) {
},
/**
* 设置数据的最大最小值
* @param {Number} nMin 最小值
* @param {Number} nMax 最大值
* @property {Collection} DataRange [0,120]
*/
SetDataRange:function (nMin,nMax) {
},
/**
* 清空所有数据
*/
SetEmpty:function () {
},
/**
* 修改数据
* @param {Number} nIndex 索引
* @param {String} strName 名称
* @param {Array} arrData 数据
*/
SetDataByIndex:function (nIndex,strName,arrData) {
},
}