/**
* @constructor
*/
function XUIBaseScatterChart() {
}
XUIBaseScatterChart.prototype = {
//事件
/**
* 左击散点
* @eventname XUI_BASECATTERCHART_LEFTCLICK
* @eventid 0x00001002
* @param {Double} nX 散点X值
* @param {Double} nY 散点Y值
*/
//组件
/**
"title":{
"title":"标题",
"name":"title",
"type":"PUITitleInterface",
"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} 是否颜色绘制
*/
IsBgDrawColor:function () {
},
/**
* 获取标题文本
* @return {String}
*/
GetTitleText:function () {
},
/**
* 背景颜色
* @param {String} strBgColor 背景颜色
* @property {Color} CtrlBgColor "0x00000000"
*/
SetCtrlBgColor:function (strBgColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetCtrlBgColor:function () {
},
/**
* 图片绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 获取图片绘制模式
* @return {String}
*/
GetPicModel:function () {
},
/**
* 背景图片
* @param {ImageProp} strBgImg 背景图片
* @property {ImageProp} CtrlBgImg "echartsCase/XUIBaseScatterChart/images/bg.png"
*/
SetCtrlBgImg:function (strBgImg) {
},
/**
* 获取背景图片
* @return {String}
*/
GetCtrlBgImg:function () {
},
/**
* 修改散点大小
* @param {Number} nSize 散点大小
* @property {Number} symbolSize 20
*/
SetSymbolSize:function (nSize) {
},
/**
* 获取散点大小
* @return {Number} 散点大小
*/
GetSymbolSize:function () {
},
/**
* 清空散点数据
*/
ClearScatterData:function () {
},
/**
* 设置数据
* @param {Array} arrX X数据
* @param {Array} arrY Y数据
*/
SetSomeScatterData:function (arrX,arrY) {
},
/**
* 添加一个数据
* @param {Float} dX X数据
* @param {Float} dY Y数据
*/
AddOneScatterData:function (dX,dY) {
},
/**
* 按序删除数据
* @param {Number} nIndex 序号
*/
DeleteDataByIndex:function (nIndex) {
},
/**
* 按序查找数据
* @param {Number} nIndex 序号
* @return {Array} 数据
*/
GetDataByIndex:function (nIndex) {
},
/**
* 修改散点数据
* @param {Number} nIndex 序号
* @param {Float} nXValue x轴新值
* @param {Float} nYValue y轴新值
*/
ChangeScatterData:function (nIndex,nXValue,nYValue) {
},
/**
* 标题文本
* @param {String} strTitle 标题内容
* @property {String} baseScatterTitle ""
*/
SetTitle:function (strTitle) {
},
/**
* 标题文本字体
* @param {String} strFamily 标题字体
* @property {Combo} TitleFontFamily ["sans-serif","serif","Arial","Microsoft YaHei","Courier New","monospace"]
*/
SetTitleFontFamily:function (strFamily) {
},
/**
* 获取标题文本字体
* @return {String}
*/
GetTitleFontFamily:function () {
},
/**
* 标题距左侧
* @param {String} strLeft 离容器左距离
* @property {String} BaseScatterTitlePosition "50%"
*/
SetTitlePositionLeft:function (strLeft) {
},
/**
* 获取标题左偏移
* @return {String}
*/
GetTitlePositionLeft:function () {
},
/**
* 标题距上方
* @param {String} strTop 离容器上距离
* @property {String} BaseScatterTitlePositionTop "5%"
*/
SetTitlePositionTop:function (strTop) {
},
/**
* 获取标题上偏移
* @return {String}
*/
GetTitlePositionTop:function () {
},
/**
* 标题文本大小
* @param {Number} nSize 标题文本大小
* @property {Number} BaseScatterTitleFontSize 18
*/
SetTitleFontSize:function (nSize) {
},
/**
* 获取标题文本大小
* @return {Number}
*/
GetTitleFontSize:function () {
},
/**
* 标题文本颜色
* @param {String} strColor 标题文本颜色
* @property {Color} TitleColor "0xff333333"
*/
SetTitleColor:function (strColor) {
},
/**
* 获取标题文本颜色
* @return {String}
*/
GetTitleColor:function () {
},
/**
* 标题字体粗细
* @param {String} strFontWeight 标题字体粗细
* @property {Combo} fontWeight ["normal","bold","bolder","lighter"]
*/
SetTitleFontWeight:function (strFontWeight) {
},
/**
* 获取标题字体粗细
* @return {String}
*/
GetTitleFontWeight:function () {
},
/**
* 散点颜色
* @param {String} strColor 散点颜色
* @property {Color} baseScatterColor "0xffc23531"
*/
SetBaseScatterColor:function (strColor) {
},
/**
* 获取散点颜色
* @return {String}
*/
GetBaseScatterColor:function () {
},
/**
* x轴文本颜色
* @param {String} strColor x轴文本颜色
* @property {Color} XAxisAxisLableColor "0xff333333"
*/
SetXAxisLableColor:function (strColor) {
},
/**
* 获取x轴文本颜色
* @return {String}
*/
GetXAxisLableColor:function () {
},
/**
* y轴文本颜色
* @param {String} strColor y轴文本颜色
* @property {Color} YAxisAxisLableColor "0xff333333"
*/
SetYAxisLableColor:function (strColor) {
},
/**
* 获取y轴文本颜色
* @return {String} 文本颜色
*/
GetYAxisLableColor:function () {
},
/**
* x轴文本大小
* @param {Number} nValue 刻度文本大小
* @property {Number} XAxisAxisLableFontSize 12
*/
SetXAxisLableFontSize:function (nValue) {
},
/**
* 获取x轴文本大小
* @return {Number}
*/
GetXAxisLableFontSize:function () {
},
/**
* y轴文本大小
* @param {Number} nValue 刻度文本大小
* @property {Number} YAxisAxisLableFontSize 12
*/
SetYAxisLableFontSize:function (nValue) {
},
/**
* 获取y轴文本大小
* @return {Number}
*/
GetYAxisLableFontSize:function () {
},
/**
* y轴颜色
* @param {String} strColor y轴颜色
* @property {Color} yAxisLineColor "0xff333333"
*/
SetYAxisLineColor:function (strColor) {
},
/**
* 获取y轴颜色
* @return {String}
*/
GetYAxisLineColor:function () {
},
/**
* y轴样式
* @param {String} strType y轴样式
* @property {Combo} yAxisLineType ["solid","dashed","dotted"]
*/
SetYAxisLineType:function (strType) {
},
/**
* 获取y轴样式
* @return {String}
*/
GetYAxisLineType:function () {
},
/**
* y轴刻度线颜色
* @param {String} strColor 刻度线颜色
* @property {Color} yAxisTickColor "0xff333333"
*/
SetYAxisTickColor:function (strColor) {
},
/**
* 获取y轴刻度线颜色
* @return {String}
*/
GetYAxisTickColor:function () {
},
/**
* y轴刻度线宽度
* @param {Number} nValue 刻度线宽度
* @property {Number} YAxisTickwidth 1
*/
SetYAxisTickWidth:function (nValue) {
},
/**
* 获取y轴刻度线宽度
* @return {Number}
*/
GetYAxisTickWidth:function () {
},
/**
* y轴刻度线长度
* @param {Number} nValue 刻度线长度
* @property {Number} YAxisTickLength 5
*/
SetYAxisTickLength:function (nValue) {
},
/**
* 获取y轴刻度线长度
* @return {Number}
*/
GetYAxisTickLength:function () {
},
/**
* y轴刻度线样式
* @param {String} strType 刻度线样式
* @property {Combo} yAxisTickType ["solid","dashed","dotted"]
*/
SetYAxisTickType:function (strType) {
},
/**
* 获取y轴刻度线样式
* @return {String}
*/
GetYAxisTickType:function () {
},
/**
* x轴颜色
* @param {String} strColor x轴颜色
* @property {Color} XAxisLineColor "0xff333333"
*/
SetXAxisLineColor:function (strColor) {
},
/**
* 获取x轴颜色
* @return {String} x轴颜色
*/
GetXAxisLineColor:function () {
},
/**
* x轴样式
* @param {String} strType x轴样式
* @property {Combo} xAxisLineType ["solid","dashed","dotted"]
*/
SetXAxisLineType:function (strType) {
},
/**
* 获取x轴样式
* @return {String}
*/
GetXAxisLineType:function () {
},
/**
* x轴刻度线颜色
* @param {String} strColor 刻度线颜色
* @property {Color} XAxisTickColor "0xff333333"
*/
SetXAxisTickColor:function (strColor) {
},
/**
* 获取x轴刻度线颜色
* @return {String}
*/
GetXAxisTickColor:function () {
},
/**
* x轴刻度线宽度
* @param {Number} nValue 刻度线宽度
* @property {Number} xAxisTickwidth 1
*/
SetXAxisTickWidth:function (nValue) {
},
/**
* 获取x轴刻度线宽度
* @return {Number}
*/
GetXAxisTickWidth:function () {
},
/**
* x轴刻度线长度
* @param {Number} nValue x轴刻度线长度
* @property {Number} XAxisTickLength 5
*/
SetXAxisTickLength:function (nValue) {
},
/**
* 获取x轴刻度线长度
* @return {Number}
*/
GetXAxisTickLength:function () {
},
/**
* x轴刻度线样式
* @param {String} strType 刻度线样式
* @property {Combo} xAxisTickType ["solid","dashed","dotted"]
*/
SetXAxisTickType:function (strType) {
},
/**
* 获取x轴刻度线样式
* @return {String}
*/
GetXAxisTickType:function () {
},
/**
* x轴分割线颜色
* @param {String} strColor 分割线颜色
* @property {Color} XAxisSplitLineColor "0xffcccccc"
*/
SetXAxisSplitLineColor:function (strColor) {
},
/**
* 获取x轴分割线颜色
* @return {String} 分割线颜色
*/
GetXAxisSplitLineColor:function () {
},
/**
* y轴分割线颜色
* @param {String} strColor 分割线颜色
* @property {Color} YAxisSplitLineColor "0xffcccccc"
*/
SetYAxisSplitLineColor:function (strColor) {
},
/**
* 获取y轴分割线颜色
* @return {String}
*/
GetYAxisSplitLineColor:function () {
},
/**
* x轴分割线样式
* @param {String} strType 分割线样式
* @property {Combo} XAxisSplitLineType ["solid","dashed","dotted"]
*/
SetXAxisSplitLineType:function (strType) {
},
/**
* 获取x轴分割线样式
* @return {String}
*/
GetXAxisSplitLineType:function () {
},
/**
* y轴分割线样式
* @param {String} strType 分割线样式
* @property {Combo} YAxisSplitLineType ["solid","dashed","dotted"]
*/
SetYAxisSplitLineType:function (strType) {
},
/**
* 获取y轴分割线样式
* @return {String}
*/
GetYAxisSplitLineType:function () {
},
/**
* 隐藏y轴分割线
* @param {Boolean} bYAxisSplitLine 隐藏分割线
* @property {Boolean} yAxisSplitLine true
*/
SetYAxisSplitLine:function (bYAxisSplitLine) {
},
/**
* 获取y轴分割线是否隐藏
* @return {Boolean} 是否隐藏
*/
GetYAxisSplitLine:function () {
},
/**
* 隐藏x轴分割线
* @param {Boolean} bXAxisSplitLine 隐藏分割线
* @property {Boolean} xAxisSplitLine true
*/
SetXAxisSplitLine:function (bXAxisSplitLine) {
},
/**
* 获取x轴分割线是否隐藏
* @return {Boolean} 是否隐藏
*/
GetXAxisSplitLine:function () {
},
/**
* x轴文本字体
* @param {String} strFamily 标题字体
* @property {Combo} XAxisFontFamily ["sans-serif","serif","Arial","Microsoft YaHei","Courier New","monospace"]
*/
SetXAxisFontFamily:function (strFamily) {
},
/**
* 获取x轴文本字体
* @return {String} 文本字体
*/
GetXAxisFontFamily:function () {
},
/**
* y轴文本字体
* @param {String} strFamily 标题字体
* @property {Combo} YAxisFontFamily ["sans-serif","serif","Arial","Microsoft YaHei","Courier New","monospace"]
*/
SetYAxisFontFamily:function (strFamily) {
},
/**
* 获取y轴文本字体
* @return {String}
*/
GetYAxisFontFamily:function () {
},
}