/**
* @constructor
*/
function XUIBasicBrokenLine() {
}
XUIBasicBrokenLine.prototype = {
//组件
/**
"line1":{
"title":"折线图1",
"name":"line1",
"type":"PUILineInterface",F
"index":0
}*/
/**
"line2":{
"title":"折线图2",
"name":"line2",
"type":"PUILineInterface",
"index":1
}*/
/**
"yAxis1":{
"title":"Y轴1",
"name":"yAxis2",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"yAxis2":{
"title":"Y轴2",
"name":"yAxis2",
"type":"PUIYAxisInterface",
"index":1
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
//接口
/**
* 设置控件背景颜色
* @param {String} strColor
* @property {Color} BackgroundColor "0xff09161c"
*/
SetBackgroundColor:function (strColor) {
},
/**
* x轴标题
* @param {String} strTitle x轴标题
* @property {String} XAxisTitle "x轴"
*/
SetXAxisTitle:function (strTitle) {
},
/**
* x轴文本显示标题
* @param {Boolean} bVisible x轴标题
* @property {Boolean} XAxisLabel true
*/
SetXAxisLabelVisible:function (bVisible) {
},
/**
* x轴文本颜色
* @param {String} strColor x轴颜色
* @property {Color} XAxisLabelColor "0xff252d3c"
*/
SetXAxisLabelColor:function (strColor) {
},
/**
* x轴文本大小
* @param {Number} nSize 文本大小
* @property {Number} XAxisLabelSize 14
*/
SetXAxisLabelSize:function (nSize) {
},
/**
* 设置x轴文本显示间隔
* @param {Number} nInterval 间隔
* @property {Number} XAxisLabelInterval 40
*/
SetXAxisLabelInterval:function (nInterval) {
},
/**
* x轴线颜色
* @param {String} strColor 颜色
* @property {Color} XAxisLineColor "0xff252d3c"
*/
SetXAxisLineColor:function (strColor) {
},
/**
* x轴线宽
* @param {Number} nWidth 线宽
* @property {Number} XAxisLineWidth 1
*/
SetXAxisLineWidth:function (nWidth) {
},
/**
* y轴是否显示
* @param {Number} nIndex 索引
* @param {Boolean} bVisible 是否显示
* @property {Collection} YAxisVisible [0,true]
*/
SetYAxisVisibleByIndex:function (nIndex,bVisible) {
},
/**
* y轴标题
* @param {Number} nIndex 索引
* @param {String} strTitle 标题
* @property {Collection} YAxisTitle [0,"y1"]
*/
SetYAxisTitleByIndex:function (nIndex,strTitle) {
},
/**
* Y轴文本颜色
* @param {Number} nIndex 索引
* @param {String} strColor x轴颜色
* @property {Collection} YAxisLabelColor [0,"0xff2a4f9c"]
*/
SetYAxisLabelColorByIndex:function (nIndex,strColor) {
},
/**
* Y轴文本大小
* @param {Number} nIndex 索引
* @param {Number} nSize 文本大小
* @property {Collection} YAxisLabelSize [0,14]
*/
SetYAxisLabelSizeByIndex:function (nIndex,nSize) {
},
/**
* Y轴线颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
* @property {Collection} YAxisLineColor [0,"0xff252d3c"]
*/
SetYAxisLineColorByIndex:function (nIndex,strColor) {
},
/**
* Y轴线宽
* @param {Number} nIndex 索引
* @param {Number} nWidth 线宽
* @property {Collection} YAxisLineWidth [0,1]
*/
SetYAxisLineWidthByIndex:function (nIndex,nWidth) {
},
/**
* 显示Y轴刻度标记线
* @param {Number} nIndex 索引
* @param {Boolean} bShow 是否显示
* @property {Boolean} YAxisTickLine [0,true]
*/
ShowYAxisTickLineByIndex:function (nIndex,bShow) {
},
/**
* 显示背景网格
* @param {Boolean} bShowX 是否显示纵向网格
* @param {Boolean} bShowY 是否显示横向网格
* @property {Collection} ShowBgGridLine [false, true]
*/
ShowBgGridLine:function (bShowX,bShowY) {
},
/**
* 背景网格线个数
* @param {Number} nXCount x轴上的个数
* @param {Number} nYCount Y轴上的个数
* @property {Collection} BgGridLineCount [10, 10]
*/
SetBgGridLineCount:function (nXCount,nYCount) {
},
/**
* 设置背景网格线颜色
* @param {String} strColor 背景网格线颜色
* @property {Color} GridLineColor "0xff0f1623"
*/
SetBgGridLineColor:function (strColor) {
},
/**
* 加线
* @param {Number} nYAxisIndex Y轴索引
* @param {String} strName 线名
* @param {String} strColor 线颜色
* @param {String} strBeginColor 起始颜色
* @param {String} strEndColor 终止颜色
*/
AddLine:function (nYAxisIndex,strName,strColor,strBeginColor,strEndColor) {
},
/**
* 设置线显示隐藏
* @param {Number} nIndex 线的下标
* @param {Boolean} bShow 是否显示
*/
ShowLineByIndex:function (nIndex,bShow) {
},
/**
* 设置x轴数据
* @param {Array} arrData 数据
*/
SetXAxisData:function (arrData) {
},
/**
* 根据线的索引设置数据
* @param {Number} nLineIndex 索引
* @param {Array} arrData 数据
*/
SetLineDataByIndex:function (nLineIndex,arrData) {
},
/**
* 根据线的索引加数据
* @param {Number} nLineIndex 索引
* @param {Double} dData 数据
*/
AddLineDataByIndex:function (nLineIndex,dData) {
},
/**
* 设置线的数据
* @param {Number} nLineIndex 索引
* @param {String} strXData x轴数据
* @param {Double} dYData y轴数据
*/
SetLineData:function (nLineIndex,strXData,dYData) {
},
/**
* 删除一条线
* @param {Number} nIndex 索引
*/
DeleteLineByIndex:function (nIndex) {
},
/**
* 清空
*/
ClearData:function () {
},
}