/**
* @constructor
*/
function XUIBothBrokenLine() {
}
XUIBothBrokenLine.prototype = {
//组件
/**
"xAxis0":{
"title":"x轴0",
"name":"xAxis0",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"xAxis1":{
"title":"x轴1",
"name":"xAxis1",
"type":"PUIXAxisInterface",
"index":1
}*/
/**
"yAxis1":{
"title":"y轴1",
"name":"yAxis1",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"line":{
"title":"折线图",
"name":"line",
"type":"PUILineInterface",
"index":0
}*/
//接口
/**
* 设置内边距
* @param {Number} nLeft 左边距
* @param {Number} nTop 上边距
* @param {Number} nRight 右边距
* @param {Number} nBottom 下边距
* @property {Collection} Gap [0,25,0 ,30]
*/
SetGap:function (nLeft,nTop,nRight,nBottom) {
},
/**
* 背景绘制
* @param {Boolean} bDraw true背景色false背景图
* @property {Boolean} DrawBgColor true
*/
SetDrawBgColor:function (bDraw) {
},
/**
* 获得背景绘制
* @return {Boolean}
*/
IsDrawBgColor:function () {
},
/**
* 背景颜色
* @param {String} strColor
* @property {Color} BackgroundColor "0xff0f1a31"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 获得背景颜色
* @return {String}
*/
GetBackgroundColor:function () {
},
/**
* 背景图
* @param {ImageProp} strImage 图
* @property {ImageProp} BackgroundImage "echartsCase/XUIBaseScatterChart/images/2020-01-17_101005.png"
*/
SetBackgroundImage:function (strImage) {
},
/**
* 获得背景图
* @return {String}
*/
GetBackgroundImage:function () {
},
/**
* 背景图绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 获得背景图绘制模式
* @return {String}
*/
GetPicModel:function () {
},
/**
* 中间背景绘制
* @param {Boolean} bDraw true背景色false背景图
* @property {Boolean} DrawCenterBg true
*/
SetDrawCenterBg:function (bDraw) {
},
/**
* 获得中间背景绘制
* @return {Boolean}
*/
IsDrawCenterBg:function () {
},
/**
* x轴文字
* @param {Number} nIndex 索引
* @param {String} strText 文字
*/
SetXAxisText:function (nIndex,strText) {
},
/**
* y轴科学计数阀值
* @param {Number} nMin 最小阀值
* @param {Number} nMax 最大阀值
* @param {Number} nPre 精度
*/
SetYScientificCountThreshold:function (nMin,nMax,nPre) {
},
/**
* 中间背景色
* @param {String} strColor
* @property {Color} CenterBgColor "0x00000000"
*/
SetCenterBgColor:function (strColor) {
},
/**
* 获得中间背景色
* @return {String}
*/
GetCenterBgColor:function () {
},
/**
* 中间背景图
* @param {ImageProp} strUrl 图
* @property {ImageProp} CenterBackgroundImg ""
*/
SetCenterBackgroundImg:function (strUrl) {
},
/**
* 获得中间背景图
* @return {String}
*/
GetCenterBackgroundImg:function () {
},
/**
* 中间背景图绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} CenterPicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetCenterPicModel:function (strModel) {
},
/**
* 获得中间背景图绘制模式
* @return {String}
*/
GetCenterPicModel:function () {
},
/**
* Y轴范围
* @param {Double} nMin 最小值
* @param {Double} nMax 最大值
*/
SetYAxisScope:function (nMin,nMax) {
},
/**
* 字体大小
* @param {Number} nSize 字体大小
* @property {Number} FontSize 16
*/
SetFontSize:function (nSize) {
},
/**
* 获得字体大小
* @return {Number}
*/
GetFontSize:function () {
},
/**
* 折线的颜色
* @param {String} strColor 颜色
* @property {Color} BrokenLineColor "0xffafbb4d"
*/
SetBrokenLineColor:function (strColor) {
},
/**
* 获得折线的颜色
* @return {String}
*/
GetBrokenLineColor:function () {
},
/**
* 折线的宽度
* @param {Number} nWidth 宽度
* @property {Number} BrokenLineWidth 1
*/
SetBrokenLineWidth:function (nWidth) {
},
/**
* 获得折线的宽度
* @return {Number}
*/
GetBrokenLineWidth:function () {
},
/**
* 折线区域渐变色
* @param {String} strColor1 最下面的颜色
* @param {String} strColor2 最上面的颜色
* @property {Collection} RampColor ["0x37b9433","0xd998ae37"]
*/
SetRampColor:function (strColor1,strColor2) {
},
/**
* 获得折线区域渐变色
* @return {Array}
*/
GetRampColor:function () {
},
/**
* 数据
* @param {Array} arrData 数据
*/
SetData:function (arrData) {
},
/**
* 获得数据
* @return {Array}
*/
GetData:function () {
},
/**
* 单个数据
* @param {Number} nIndex 索引
* @param {Double} dData 数据
*/
SetDataByIndex:function (nIndex,dData) {
},
/**
* 获得单个数据
* @param {Number} nIndex 索引
* @return {Number}
*/
GetDataByIndex:function (nIndex) {
},
/**
* 增加数据
* @param {Array} arrXData x数据
* @param {Array} arrData y数据
*/
AddData:function (arrXData,arrData) {
},
/**
* 边框颜色
* @param {String} strColor 颜色
* @property {Color} BorderColor "0xff2671b9"
*/
SetBorderColor:function (strColor) {
},
/**
* 获得边框颜色
* @return {String}
*/
GetBorderColor:function () {
},
/**
* 边框宽度
* @param {Number} nWidth 宽度
* @property {Number} BorderWidth 1
*/
SetBorderWidth:function (nWidth) {
},
/**
* 获得边框宽度
* @return {Number}
*/
GetBorderWidth:function () {
},
/**
* 是否显示y轴
* @param {Boolean} bShow true显示,false不显示
* @property {Boolean} ShowYAxisLine false
*/
SetShowYAxisLine:function (bShow) {
},
/**
* 获得是否显示y轴
* @return {Boolean}
*/
IsShowYAxisLine:function () {
},
/**
* 是否反转y轴
* @param {Boolean} bReversal true反转,false不反转
* @property {Boolean} ReversalYAxis false
*/
SetReversalYAxis:function (bReversal) {
},
/**
* 获取y轴是否反转
* @return {Boolean} 是否反转
*/
IsReversalYAxis:function () {
},
/**
* y轴颜色
* @param {String} strColor 颜色
* @property {Color} YAxisLineColor "0xff2f3b5c"
*/
SetYAxisLineColor:function (strColor) {
},
/**
* 获得y轴颜色
* @return {String}
*/
GetYAxisLineColor:function () {
},
/**
* y轴宽度
* @param {Number} nWidth 宽度
* @property {Number} YAxisLineWidth 1
*/
SetYAxisLineWidth:function (nWidth) {
},
/**
* 获得y轴宽度
* @return {Number}
*/
GetYAxisLineWidth:function () {
},
/**
* 是否显示Y轴刻度
* @param {Boolean} bShow true显示false不显示
* @property {Boolean} ShowYAxisTick false
*/
SetShowYAxisTick:function (bShow) {
},
/**
* 获得显示Y轴刻度
* @return {Boolean}
*/
IsShowYAxisTick:function () {
},
/**
* y轴刻度长度
* @param {Number} nLength 长度
* @property {Number} YAxisTickLength 10
*/
SetYAxisTickLength:function (nLength) {
},
/**
* 获得y轴刻度长度
* @return {Number}
*/
GetYAxisTickLength:function () {
},
/**
* y轴刻度宽度
* @param {Number} nWidth 颜色
* @property {Number} YAxisTickWidth 1
*/
SetYAxisTickWidth:function (nWidth) {
},
/**
* 获得y轴刻度宽度
* @return {Number}
*/
GetYAxisTickWidth:function () {
},
/**
* y轴刻度方向
* @param {Boolean} bInside true向内,false向外
* @property {Boolean} YAxisTickDirection false
*/
SetYAxisTickDirection:function (bInside) {
},
/**
* 获得y轴刻度方向
* @return {Boolean}
*/
IsYAxisTickDirection:function () {
},
/**
* y轴刻度颜色
* @param {String} strColor 颜色
* @property {Color} YAxisTickColor "0xff2f3b5c"
*/
SetYAxisTickColor:function (strColor) {
},
/**
* 获得y轴刻度颜色
* @return {String}
*/
GetYAxisTickColor:function () {
},
/**
* 是否显示x轴
* @param {Boolean} bShow true显示,false不显示
* @property {Boolean} ShowXAxisLine true
*/
SetShowXAxisLine:function (bShow) {
},
/**
* 获得是否显示x轴
* @return {Boolean}
*/
IsShowXAxisLine:function () {
},
/**
* x轴颜色
* @param {String} strColor 颜色
* @property {Color} XAxisLineColor "0xffdddddd"
*/
SetXAxisLineColor:function (strColor) {
},
/**
* 获得x轴颜色
* @return {String}
*/
GetXAxisLineColor:function () {
},
/**
* x轴宽度
* @param {Number} nWidth 宽度
* @property {Number} XAxisLineWidth 1
*/
SetXAxisLineWidth:function (nWidth) {
},
/**
* 获得x轴宽度
* @return {Number}
*/
GetXAxisLineWidth:function () {
},
/**
* 显示x轴刻度
* @param {Boolean} bShow true显示,false不显示
* @property {Boolean} ShowXAxisTick true
*/
SetShowXAxisTick:function (bShow) {
},
/**
* 获得显示x轴刻度
* @return {Boolean}
*/
IsShowXAxisTick:function () {
},
/**
* x轴刻度长度
* @param {Number} nLength 长度
* @property {Number} XAxisTickLength 5
*/
SetXAxisTickLength:function (nLength) {
},
/**
* 获得x轴刻度长度
* @return {Number}
*/
GetXAxisTickLength:function () {
},
/**
* x轴刻度宽度
* @param {Number} nWidth 宽度
* @property {Number} XAxisTickWidth 1
*/
SetXAxisTickWidth:function (nWidth) {
},
/**
* 获得x轴刻度宽度
* @return {Number}
*/
GetXAxisTickWidth:function () {
},
/**
* x轴刻度方向
* @param {Boolean} bInside true向内,false向外
* @property {Boolean} XAxisTickDirection true
*/
SetXAxisTickDirection:function (bInside) {
},
/**
* 获得x轴刻度方向
* @return {Boolean}
*/
IsXAxisTickDirection:function () {
},
/**
* x轴刻度颜色
* @param {String} strColor 颜色
* @property {Color} XAxisTickColor "0xffdddddd"
*/
SetXAxisTickColor:function (strColor) {
},
/**
* 获得x轴刻度颜色
* @return {String}
*/
GetXAxisTickColor:function () {
},
/**
* 删除一个数据
* @param {Number} nIndex 索引
*/
DeleteDataByIndex:function (nIndex) {
},
/**
* 清空
*/
ClearData:function () {
},
/**
* 科学计数法显示
* @param {Boolean} bScientificNotation 是否是科学计数法
* @param {Number} nNum 精度
*/
ScientificNotationFormat:function (bScientificNotation,nNum) {
},
}