/**
* @constructor
*/
function XUIScatterUpdate() {
}
XUIScatterUpdate.prototype = {
//事件
/**
* 清除X轴数据
* @eventname XUI_ScatterUpdate_ClearXAxisData
* @eventid 0x0000000077
*/
/**
* 通过工具栏按钮清除数据
* @eventname XUI_ScatterUpdate_ClearData
* @eventid 0x0000000078
*/
/**
* 重新加载数据
* @eventname XUI_ScatterUpdate_ReloadData
* @eventid 0x0000000079
*/
//组件
/**
"xAxis0":{
"title":"x轴0",
"name":"xAxis0",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"xAxis1":{
"title":"x轴1",
"name":"xAxis1",
"type":"PUIXAxisInterface",
"index":1
}*/
/**
"xAxis2":{
"title":"x轴2",
"name":"xAxis2",
"type":"PUIXAxisInterface",
"index":2
}*/
/**
"yAxis1":{
"title":"y轴1",
"name":"yAxis1",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"yAxis2":{
"title":"y轴2",
"name":"yAxis2",
"type":"PUIYAxisInterface",
"index":1
}*/
/**
"yAxis3":{
"title":"y轴3",
"name":"yAxis3",
"type":"PUIYAxisInterface",
"index":2
}*/
/**
"toolbox":{
"title":"提示框组件",
"name":"toolbox",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"Scatter":{
"title":"散点图",
"name":"Scatter",
"type":"PUIScatterInterface",
"index":0
}*/
//接口
/**
* 初始化
* @param {Boolean} bMerge
*/
InitCtrl:function (bMerge) {
},
/**
* 加一组数据
* @param {Number} nYAxisIndex Y轴索引
* @param {Array} arrData 数据
* @param {String} strColor 颜色
*/
AddGroup:function (nYAxisIndex,arrData,strColor) {
},
/**
* 设置一组数据
* @param {Number} nIndex 索引
* @param {Array} arrData 数据
*/
SetGroupDataByIndex:function (nIndex,arrData) {
},
/**
* 线显示隐藏
* @param {Number} nLineIndex 线的下标
* @param {Boolean} bShow 是否显示
*/
ShowLineByIndex:function (nLineIndex,bShow) {
},
/**
* X轴刻度显示间隔
* @param {Number} nInterval 间隔
* @property {Number} XAxisTickInterval 200
*/
SetXAxisTickInterval:function (nInterval) {
},
/**
* X轴文本显示间隔
* @param {Number} nInterval 间隔
* @property {Number} XAxisLabelInterval 200
*/
SetXAxisLabelInterval:function (nInterval) {
},
/**
* X轴数据
* @param {Array} arrData 数据
*/
SetXAxisData:function (arrData) {
},
/**
* 显示工具箱
* @param {Boolean} bShow 是否显示
* @property {Boolean} ShowToolbox false
*/
ShowToolbox:function (bShow) {
},
/**
* 设置工具箱的布局朝向
* @param {String} strOrient 布局朝向
* @property {Combo} ToolboxOrient ["vertical", "horizontal"]
*/
SetToolboxOrient:function (strOrient) {
},
/**
* 设置工具箱的位置
* @param {Number} nTop 上边距
* @param {Number} nRight 右边距
* @property {Collection} ToolboxBorderGap [0, 0]
*/
SetToolboxBorderGap:function (nTop,nRight) {
},
/**
* 显示工具箱每个项的标题
* @param {Boolean} bShow 是否显示
*/
ShowToolboxItemTitle:function (bShow) {
},
/**
* 设置工具箱项的大小
* @param {Number} nSize 大小
* @property {Number} ToolboxItemSize 12
*/
SetToolboxItemSize:function (nSize) {
},
/**
* 设置工具箱项的标题
* @param {Number} nType 0:保存为图片、1:清除数据、2:区域缩放、3:区域缩放还原、4:还原
* @param {String} strTitle 标题文本
*/
SetToolboxItemTitle:function (nType,strTitle) {
},
/**
* 设置工具箱项的图标
* @param {Number} nType 0:保存为图片、1:清除数据、2:区域缩放、3:区域缩放还原、4:还原
* @param {ImageProp} strImage 图片路径
*/
SetToolboxItemImage:function (nType,strImage) {
},
/**
* 设置工具箱每项之间的间隔
* @param {Number} nGap 间隔
* @property {Number} ToolboxItemGap 10
*/
SetToolboxItemGap:function (nGap) {
},
/**
* 数据区域居左
* @param {Number} nValue 位置
* @property {Number} LeftValue 35
*/
SetLeftValue:function (nValue) {
},
/**
* 数据区域居上
* @param {Number} nValue 位置
* @property {Number} TopValue 25
*/
SetTopValue:function (nValue) {
},
/**
* 数据区域居右
* @param {Number} nValue 位置
* @property {Number} RightValue 35
*/
SetRightValue:function (nValue) {
},
/**
* 数据区域居下
* @param {Number} nValue 位置
* @property {Number} BottomValue 30
*/
SetBottomValue:function (nValue) {
},
/**
* 显示Y轴刻度标记线
* @param {Boolean} bShow 是否显示
* @property {Boolean} ShowYAxisTickLine true
*/
ShowYAxisTickLine:function (bShow) {
},
/**
* 显示Y轴小刻度
* @param {Boolean} bShow 是否显示
* @property {Boolean} ShowYAxisSmallTickLine false
*/
ShowYAxisSmallTickLine:function (bShow) {
},
/**
* 显示背景网格
* @param {Boolean} bShowX 是否显示纵向网格
* @param {Boolean} bShowY 是否显示横向网格
* @property {Collection} ShowBgGridLine [true, true]
*/
ShowBgGridLine:function (bShowX,bShowY) {
},
/**
* 背景网格线个数
* @param {Number} nXCount X轴上的个数
* @param {Number} nYCount Y轴上的个数
* @property {Collection} BgGridLineCount [10, 10]
*/
SetBgGridLineCount:function (nXCount,nYCount) {
},
/**
* 双Y轴模式
* @param {Boolean} bDoubleYAxis 是否显示
* @property {Boolean} DoubleYAxisMode true
*/
SetDoubleYAxisMode:function (bDoubleYAxis) {
},
/**
* y轴是否显示
* @param {Number} nIndex y轴索引
* @param {Boolean} bVisible 是否显示
*/
SetYAxisVisibleByIndex:function (nIndex,bVisible) {
},
/**
* 数据是否开启采样
* @param {Boolean} bSampling 开启采样
*/
Sampling:function (bSampling) {
},
/**
* 科学计数法显示
* @param {Number} nIndex y轴索引
* @param {Boolean} bScientificNotation 是否是科学计数法
* @param {Number} nNum 精度
*/
ScientificNotationFormatByIndex:function (nIndex,bScientificNotation,nNum) {
},
/**
* 数据范围
* @param {Number} nIndex y轴索引
* @param {Number} nMin 最小值
* @param {Number} nMax 最大值
*/
SetYAxisValueRangeByIndex:function (nIndex,nMin,nMax) {
},
/**
* y轴字体颜色
* @param {Number} nIndex y轴索引
* @param {String} strColor 颜色
* @property {Collection} YAxisFontColorByIndex [0,"0xffffffff"]
*/
SetYAxisFontColorByIndex:function (nIndex,strColor) {
},
/**
* y轴轴线颜色
* @param {String} strColor 颜色
* @property {Color} YAxisColor "0xff5e8e92"
*/
SetYAxisColor:function (strColor) {
},
/**
* 设置x轴字体颜色
* @param {String} strColor 颜色
* @property {Color} xAxisFontColor "0xffffffff"
*/
SetXAxisFontColor:function (strColor) {
},
/**
* x轴轴线颜色
* @param {String} strColor 颜色
* @property {Color} XAxisColor "0xff5e8e92"
*/
SetXAxisColor:function (strColor) {
},
/**
* x轴刻度颜色
* @param {String} strColor 颜色
* @property {Color} XAxisTickColor "0xff5e8e92"
*/
SetXAxisTickColor:function (strColor) {
},
/**
* y轴刻度颜色
* @param {String} strColor 颜色
* @property {Color} YAxisTickColor "0xff5e8e92"
*/
SetYAxisTickColor:function (strColor) {
},
/**
* x轴刻度长度
* @param {Number} nLength 长度
* @property {Number} XAxisTickLength 5
*/
SetXAxisTickLength:function (nLength) {
},
/**
* y轴刻度长度
* @param {Number} nLength 长度
* @property {Number} YAxisTickLength 5
*/
SetYAxisTickLength:function (nLength) {
},
/**
* x轴分割线颜色
* @param {String} strColor 颜色
* @property {Color} XAxisSplitLineColor "0xff5e8e92"
*/
SetXAxisSplitLineColor:function (strColor) {
},
/**
* y轴分割线颜色
* @param {String} strColor 颜色
* @property {Color} YAxisSplitLineColor "0xff5e8e92"
*/
SetYAxisSplitLineColor:function (strColor) {
},
/**
* 设置x轴字体大小
* @param {Number} nSize 大小
* @property {Number} xAxisFontSize 16
*/
SetXAxisFontSize:function (nSize) {
},
/**
* 设置y轴字体大小
* @param {Number} nIndex y轴索引
* @param {Number} nSize 大小
*/
SetYAxisFontSize:function (nIndex,nSize) {
},
/**
* 清除X轴数据
*/
ClearXAxisData:function () {
},
/**
* 图表区是否包含刻度标签
* @param {Boolean} bIn true包含false不包含
* @property {Boolean} GridIncludeLable true
*/
SetGridIncludeLable:function (bIn) {
},
/**
* 圆点的大小
* @param {Number} nSize 大小
* @property {Number} SymbolSize 4
*/
SetSymbolSize:function (nSize) {
},
/**
* 一组圆点的颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
*/
SetSymbolColorByIndex:function (nIndex,strColor) {
},
/**
* 背景绘制
* @param {Boolean} bDraw true背景色false背景图
* @property {Boolean} DrawBgColor true
*/
SetDrawBgColor:function (bDraw) {
},
/**
* 背景颜色
* @param {String} strColor 颜色
* @property {Color} BackgroundColor "0xff111c34"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 背景图
* @param {ImageProp} strImage 图
* @property {ImageProp} BackgroundImage ""
*/
SetBackgroundImage:function (strImage) {
},
/**
* 背景图绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 删除一组散点
* @param {Number} nIndex 索引
*/
DeleteScatterByIndex:function (nIndex) {
},
/**
* 清空
*/
ClearData:function () {
},
/**
* 获得一组数据
* @param {Number} nIndex 索引
* @return {Array}
*/
GetGroupDataByIndex:function (nIndex) {
},
/**
* 获得X轴刻度显示间隔
* @return {Number}
*/
GetXAxisTickInterval:function () {
},
/**
* 获得X轴文本显示间隔
* @return {Number}
*/
GetXAxisLabelInterval:function () {
},
/**
* 获得X轴数据
* @return {Array}
*/
GetXAxisData:function () {
},
/**
* 获得数据区域居左位置
* @return {Number}
*/
GetLeftValue:function () {
},
/**
* 获得数据区域居上位置
* @return {Number}
*/
GetTopValue:function () {
},
/**
* 获得数据区域居右位置
* @return {Number}
*/
GetRightValue:function () {
},
/**
* 获得数据区域居下位置
* @return {Number}
*/
GetBottomValue:function () {
},
/**
* 获得背景网格线个数
* @return {Array}
*/
GetBgGridLineCount:function () {
},
/**
* 获得是否双Y轴模式
* @return {Boolean}
*/
IsDoubleYAxisMode:function () {
},
/**
* 获得y轴是否显示
* @param {Number} nIndex y轴索引
* @return {Boolean}
*/
IsYAxisVisibleByIndex:function (nIndex) {
},
/**
* 获得数据是否开启采样
* @return {Boolean}
*/
IsSampling:function () {
},
/**
* 获得数据范围
* @param {Number} nIndex y轴索引
* @return {Array}
*/
GetYAxisValueRangeByIndex:function (nIndex) {
},
/**
* 获得y轴字体颜色
* @param {Number} nIndex y轴索引
* @return {String}
*/
GetYAxisFontColorByIndex:function (nIndex) {
},
/**
* 获得y轴轴线颜色
* @return {String}
*/
GetYAxisColor:function () {
},
/**
* 获得x轴字体颜色
* @return {String}
*/
GetXAxisFontColor:function () {
},
/**
* 获得x轴轴线颜色
* @return {String}
*/
GetXAxisColor:function () {
},
/**
* 获得x轴刻度颜色
* @return {String}
*/
GetXAxisTickColor:function () {
},
/**
* 获得y轴刻度颜色
* @return {String}
*/
GetYAxisTickColor:function () {
},
/**
* 获得x轴刻度长度
* @return {Number}
*/
GetXAxisTickLength:function () {
},
/**
* 获得y轴刻度长度
* @return {Number}
*/
GetYAxisTickLength:function () {
},
/**
* 获得x轴分割线颜色
* @return {String}
*/
GetXAxisSplitLineColor:function () {
},
/**
* 获得y轴分割线颜色
* @return {String}
*/
GetYAxisSplitLineColor:function () {
},
/**
* 获得x轴字体大小
* @return {Number}
*/
GetXAxisFontSize:function () {
},
/**
* 获得y轴字体大小
* @param {Number} nIndex y轴索引
* @return {Number}
*/
GetYAxisFontSize:function (nIndex) {
},
/**
* 获得图表区是否包含刻度标签
* @return {Boolean}
*/
IsGridIncludeLable:function () {
},
/**
* 获得圆点的大小
* @return {Number}
*/
GetSymbolSize:function () {
},
/**
* 获得一组圆点的颜色
* @param {Number} nIndex 索引
* @return {String}
*/
GetSymbolColorByIndex:function (nIndex) {
},
/**
* 获得背景绘制
* @return {Boolean}
*/
IsDrawBgColor:function () {
},
/**
* 获得背景颜色
* @return {String}
*/
GetBackgroundColor:function () {
},
/**
* 获得背景图
* @return {String}
*/
GetBackgroundImage:function () {
},
/**
* 获得背景图绘制模式
* @return {String}
*/
GetPicModel:function () {
},
}