/**
* @constructor
*/
function XUIRichBrokenLine() {
}
XUIRichBrokenLine.prototype = {
//组件
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis0":{
"title":"y轴0",
"name":"yAxis0",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"yAxis1":{
"title":"y轴0",
"name":"yAxis1",
"type":"PUIYAxisInterface",
"index":1
}*/
/**
"DataZoomInside":{
"title":"内置缩放",
"name":"DataZoomInside",
"type":"PUIDataZoomInsideInterface",
"index":0
}*/
/**
"line0":{
"title":"折线0",
"name":"line0",
"type":"PUILineInterface",
"index":0
}*/
/**
"line1":{
"title":"折线1",
"name":"line1",
"type":"PUILineInterface",
"index":1
}*/
/**
"line2":{
"title":"折线2",
"name":"line2",
"type":"PUILineInterface",
"index":2
}*/
//接口
/**
* 清除所有
*/
ClearAllData:function () {
},
/**
* 清除x轴
*/
ClearXCont:function () {
},
/**
* 清除数据
*/
ClearData:function () {
},
/**
* 设置x轴文本
* @param {Array} arrLabel 数组
*/
SetXLabel:function (arrLabel) {
},
/**
* 添加百分比的线
* @param {String} strName 线名
* @param {Array} arr 数据
* @param {String} strSymbol 线上图标样式
* @param {Number} nSymboSize 图标大小
* @param {String} StrStartColor 起始颜色
* @param {String} StrEndColor 结束颜色
* @param {String} strLineColor 线颜色
* @param {String} strIconImg 图例图片
*/
AddLinePercent:function (strName,arr,strSymbol,nSymboSize,StrStartColor,StrEndColor,strLineColor,strIconImg) {
},
/**
* 添加数值线
* @param {String} strName 线名
* @param {Array} arr 数据
* @param {String} strSymbol 线上图标样式
* @param {Number} nSymboSize 图标大小
* @param {String} StrStartColor 起始颜色
* @param {String} StrEndColor 结束颜色
* @param {String} strLineColor 线颜色
* @param {String} strIconImg 图例图片
*/
AddLineValue:function (strName,arr,strSymbol,nSymboSize,StrStartColor,StrEndColor,strLineColor,strIconImg) {
},
/**
* 通过序号修改数据
* @param {Number} nIndex 序号
* @param {Array} arr 数据
*/
SetDataByIndex:function (nIndex,arr) {
},
/**
* 通过序号获取数据
* @param {Number} nIndex 序号
* @return {Array}
*/
GetDataByIndex:function (nIndex) {
},
/**
* 通过x轴文本设置选中项
* @param {String} strXLabel x轴文本
*/
SetSelectedByXlabel:function (strXLabel) {
},
/**
* 通过x轴索引设置选中项
* @param {Number} nIndex x轴文本
* @property {Number} SelectedByXIndex 7
*/
SetSelectedByXIndex:function (nIndex) {
},
/**
* 设置背景颜色
* @param {String} strColor
* @property {Color} BackgroundColor "0xff222939"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 设置显示范围
* @param {Number} nStartValue 起始值
* @param {Number} nEndValue 结束值
* @property {Collection} DataZommRange [0,6]
*/
SetDataZommRange:function (nStartValue,nEndValue) {
},
}