/**
* @constructor
*/
function XUIAnscombeQuartet() {
}
XUIAnscombeQuartet.prototype = {
//事件
/**
* 左击散点
* @eventname XUI_ANSCOMBEQUARTET_LEFTCLICK
* @eventid 0x00001001
* @param {Double} nX 散点x值
* @param {Double} nY 散点y值
*/
//组件
/**
"tooltip":{
"title":"提示框",
"name":"tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"scatter":{
"title":"散点图",
"name":"scatter",
"type":"PUIScatterInterface",
"index":0
}*/
//接口
/**
* 背景是否颜色绘制
* @param {Boolean} bDrawColor
* @property {Boolean} BgDrawColor true
*/
SetDrawColor:function (bDrawColor) {
},
/**
* 背景是否以颜色绘制
* @return {Boolean} 是否以颜色绘制
*/
IsDrawColor:function () {
},
/**
* 背景颜色
* @param {String} strBgColor 背景颜色
* @property {Color} CtrlBgColor "0x00000000"
*/
SetCtrlBgColor:function (strBgColor) {
},
/**
* 背景图片
* @param {ImageProp} strBgImg 背景图片
* @property {ImageProp} CtrlBgImg "echartsCase/XUIAnscombeQuartet/images/bg.png"
*/
SetCtrlBgImg:function (strBgImg) {
},
/**
* 清空散点数据
*/
ClearScatterData:function () {
},
/**
* 添加散点数据
* @param {Array} arrDataX x散点数据
* @param {Array} arrDataY y散点数据
* @param {String} strSeriesName 系列名称
*/
AddScatterData:function (arrDataX,arrDataY,strSeriesName) {
},
/**
* 添加一个数据
* @param {Float} nX x数据
* @param {Float} nY y数据
* @param {String} strSeriesName 系列名称
*/
AddOneScatterData:function (nX,nY,strSeriesName) {
},
/**
* 添加直线数据
* @param {Number} nXValue1 x轴值
* @param {Number} nYValue1 y轴值
* @param {Number} nXValue2 x轴值
* @param {Number} nYValue2 y轴值
* @param {String} strLableName 文本标签
* @param {String} strSeriesName 系列名称
*/
AddLineData:function (nXValue1,nYValue1,nXValue2,nYValue2,strLableName,strSeriesName) {
},
/**
* 删除散点数据
* @param {String} strSeriesName 系列名称
*/
DeleteScatterData:function (strSeriesName) {
},
/**
* 系列序号删数据
* @param {Number} nIndex 序号
* @param {String} strName 系列名称
*/
DeleteDataByIndex:function (nIndex,strName) {
},
/**
* 系列序号查数据
* @param {Number} nIndex 序号
* @param {String} strName 系列名称
* @return {Array} 数据
*/
GetDataByIndexAndName:function (nIndex,strName) {
},
/**
* 修改散点数据
* @param {String} strSeriesName 系列名称
* @param {Number} nIndex 序号
* @param {Float} nXValue x轴新值
* @param {Float} nYValue y轴新值
*/
ChangeScatterData:function (strSeriesName,nIndex,nXValue,nYValue) {
},
/**
* 删除直线
* @param {String} strSeriesName 系列名称
*/
DeleteLineData:function (strSeriesName) {
},
/**
* 散点的大小
* @param {Number} nSize 散点大小
* @param {String} strSeriesName 系列名称
* @property {Collection} ScatterSymbolSize [10,"I"]
*/
SetScatterSymbolSize:function (nSize,strSeriesName) {
},
/**
* 散点颜色
* @param {String} strSeriesName 系列名称
* @param {String} strColor 散点颜色
* @property {Collection} ScatterColor ["I","0xffc23531"]
*/
SetScatterColor:function (strSeriesName,strColor) {
},
/**
* 直线颜色
* @param {String} strSeriesName 系列名称
* @param {String} strColor 直线颜色
* @property {Collection} LineColorByName ["I","0xffc23531"]
*/
SetLineColorByName:function (strSeriesName,strColor) {
},
/**
* 提示框文字颜色
* @param {String} strColor 提示框文字颜色
* @property {Color} TooltipTextColor "0xffffffff"
*/
SetTooltipTextColor:function (strColor) {
},
/**
* 提示框文字大小
* @param {Number} nSize 提示框文字大小
* @property {Number} TooltipTextFontSize 14
*/
SetTooltipTextFontSize:function (nSize) {
},
/**
* 提示框文字粗细
* @param {String} strFontWeight 提示框文字粗细
* @property {Combo} TooltipTextFontWeight ["normal","bold","bolder","lighter"]
*/
SetTooltipTextFontWeight:function (strFontWeight) {
},
/**
* 提示框背景色
* @param {String} strColor 提示框背景色
* @property {Color} TooltipBackgroundColor "0x323232B2"
*/
SetTooltipBackgroundColor:function (strColor) {
},
/**
* y轴文本颜色
* @param {String} strColor y轴刻度文本颜色
* @property {Color} YAxisLineAxisLabelColor "0xff333333"
*/
SetYAxisLineAxisLabelColor:function (strColor) {
},
/**
* x轴文本颜色
* @param {String} strColor x轴刻度文本颜色
* @property {Color} XAxisLineAxisLabelColor "0xff333333"
*/
SetXAxisLineAxisLabelColor:function (strColor) {
},
/**
* y轴文本大小
* @param {Number} nValue y轴刻度文本大小
* @property {Number} YAxisAxisLabelFontSize 12
*/
SetYAxisAxisLabelFontSize:function (nValue) {
},
/**
* x轴文本大小
* @param {Number} nValue x轴刻度文本大小
* @property {Number} XAxisAxisLabelFontSize 12
*/
SetXAxisAxisLabelFontSize:function (nValue) {
},
/**
* y轴颜色
* @param {String} strColor y轴颜色
* @property {Color} YAxisLineColor "0xff333333"
*/
SetYAxisLineColor:function (strColor) {
},
/**
* y轴样式
* @param {String} strType y轴样式
* @property {Combo} YAxisLineType ["solid","dashed","dotted"]
*/
SetYAxisLineType:function (strType) {
},
/**
* y轴刻度线颜色
* @param {String} strColor y轴刻度线颜色
* @property {Color} YAxisTickColor "0xff333333"
*/
SetYAxisTickColor:function (strColor) {
},
/**
* y轴刻度线宽度
* @param {Number} nValue y轴刻度线宽度
* @property {Number} YAxisTickwidth 1
*/
SetYAxisTickWidth:function (nValue) {
},
/**
* y轴刻度线长度
* @param {Number} nValue y轴刻度线长度
* @property {Number} YAxisTickLength 5
*/
SetYAxisTickLength:function (nValue) {
},
/**
* y轴刻度线样式
* @param {String} strType y轴刻度线样式
* @property {Combo} YAxisTickType ["solid","dashed","dotted"]
*/
SetYAxisTickType:function (strType) {
},
/**
* x轴颜色
* @param {String} strColor x轴颜色
* @property {Color} XAxisLineColor "0xff333333"
*/
SetXAxisLineColor:function (strColor) {
},
/**
* x轴样式
* @param {String} strType x轴样式
* @property {Combo} XAxisLineType ["solid","dashed","dotted"]
*/
SetXAxisLineType:function (strType) {
},
/**
* x轴刻度线颜色
* @param {String} strColor x轴刻度线颜色
* @property {Color} XAxisTickColor "0xff333333"
*/
SetXAxisTickColor:function (strColor) {
},
/**
* x轴刻度线宽度
* @param {Number} nValue x轴刻度线宽度
* @property {Number} XAxisTickwidth 1
*/
SetXAxisTickWidth:function (nValue) {
},
/**
* x轴刻度线长度
* @param {Number} nValue x轴刻度线长度
* @property {Number} XAxisTickLength 5
*/
SetXAxisTickLength:function (nValue) {
},
/**
* x轴刻度线样式
* @param {String} strType 刻度线样式
* @property {Combo} XAxisTickType ["solid","dashed","dotted"]
*/
SetXAxisTickType:function (strType) {
},
/**
* x轴分割线颜色
* @param {String} strColor 分割线颜色
* @property {Color} XAxisSplitLineColor "0xffcccccc"
*/
SetXAxisSplitLineColor:function (strColor) {
},
/**
* y轴分割线颜色
* @param {String} strColor 分割线颜色
* @property {Color} YAxisSplitLineColor "0xffcccccc"
*/
SetYAxisSplitLineColor:function (strColor) {
},
/**
* x轴分割线样式
* @param {String} strType 分割线样式
* @property {Combo} XAxisSplitLineType ["solid","dashed","dotted"]
*/
SetXAxisSplitLineType:function (strType) {
},
/**
* y轴分割线样式
* @param {String} strType 分割线样式
* @property {Combo} YAxisSplitLineType ["solid","dashed","dotted"]
*/
SetYAxisSplitLineType:function (strType) {
},
/**
* x轴最大最小值
* @param {Number} nMin x轴最小值
* @param {Number} nMax x轴最大值
* @property {Collection} XAxisMinValueAndMaxValue [0,20]
*/
SetXAxisMinValueAndMaxValue:function (nMin,nMax) {
},
/**
* y轴最大最小值
* @param {Number} nMin y轴最小值
* @param {Number} nMax y轴最大值
* @property {Collection} YAxisMinValueAndMaxValue [0,15]
*/
SetYAxisMinValueAndMaxValue:function (nMin,nMax) {
},
/**
* 隐藏y轴分割线
* @param {Boolean} bYAxisSplitLine 隐藏y轴分割线
* @property {Boolean} YAxisSplitLine true
*/
SetYAxisSplitLine:function (bYAxisSplitLine) {
},
/**
* 隐藏x轴分割线
* @param {Boolean} bYAxisSplitLine 隐藏x轴分割线
* @property {Boolean} XAxisSplitLine true
*/
SetXAxisSplitLine:function (bYAxisSplitLine) {
},
}