/**
* @constructor
*/
function XUIAllanVariance() {
}
XUIAllanVariance.prototype = {
//组件
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"ToolBox":{
"title":"工具栏",
"name":"ToolBox",
"type":"PUIToolBoxInterface",
"index":0
}*/
/**
"Title":{
"title":"标题",
"name":"Title",
"type":"PUITitleInterface",
"index":0
}*/
/**
"line":{
"title":"折线图",
"name":"line",
"type":"PUILineInterface",
"index":0
}*/
//接口
/**
* 显示工具箱
* @param {Boolean} bShow 是否显示
* @property {Boolean} ShowToolbox false
*/
ShowToolbox:function (bShow) {
},
/**
* 设置工具箱的布局朝向
* @param {String} strOrient 布局朝向
* @property {Combo} ToolboxOrient ["vertical", "horizontal"]
*/
SetToolboxOrient:function (strOrient) {
},
/**
* 显示工具箱每个项的标题
* @param {Boolean} bShow 是否显示
* @property {Boolean} ToolboxItemTitle true
*/
ShowToolboxItemTitle:function (bShow) {
},
/**
* 设置工具箱项的图标
* @param {ImageProp} strImage 图片路径
* @property {ImageProp} ToolboxItemImage ""
*/
SetToolboxItemImage:function (strImage) {
},
/**
* 标题
* @param {String} strTitle 标题
* @property {String} Title "Allan Deviation"
*/
SetTitle:function (strTitle) {
},
/**
* 标题颜色
* @param {String} strColor 颜色
* @property {Color} TitleColor "0xffffffff"
*/
SetTitleColor:function (strColor) {
},
/**
* 标题大小
* @param {Number} nSize 大小
* @property {Number} TitleSize 16
*/
SetTitleSize:function (nSize) {
},
/**
* 小刻度数量
* @param {Number} nCount 数量
* @property {Number} MinorTickCount 9
*/
SetMinorTickCount:function (nCount) {
},
/**
* 标题位置
* @param {String} strTop 垂直方向
* @param {String} strLeft 水平方向
* @property {Collection} TitlePosition ["2%","center"]
*/
SetTitlePosition:function (strTop,strLeft) {
},
/**
* 显示标题
* @param {Boolean} bShow true显示false不显示
* @property {Boolean} ShowTitle true
*/
ShowTitle:function (bShow) {
},
/**
* 加入Tooltip
* @param {String} strText1 前段文本
* @param {String} strText2 后段文本
* @property {Collection} Tooltip ["",""]
*/
AppendTooltip:function (strText1,strText2) {
},
/**
* Tooltip显示
* @param {Boolean} bShow true显示,false不显示
*/
SetTooltipVisible:function (bShow) {
},
/**
* Tooltip文字颜色
* @param {String} strColor 颜色
* @property {Color} TooltipTextColor "0xff000000"
*/
SetTooltipTextColor:function (strColor) {
},
/**
* Tooltip文字大小
* @param {Number} nSize 大小
* @property {Number} TooltipTextSize 16
*/
SetTooltipTextSize:function (nSize) {
},
/**
* Tooltip宽度
* @param {Number} nWidth 宽度
* @property {Number} TooltipWidth 180
*/
SetTooltipWidth:function (nWidth) {
},
/**
* Tooltip高度
* @param {Number} nHeight 高度
* @property {Number} TooltipHeight 20
*/
SetTooltipHeight:function (nHeight) {
},
/**
* Tooltip位置
* @param {Number} nRight 右边距
* @param {Number} nTop 上边距
* @property {Collection} TooltipPosition [20,50]
*/
SetTooltipPosition:function (nRight,nTop) {
},
/**
* Tooltip背景色
* @param {String} strColor 背景色
* @property {Color} TooltipBgColor "0x33ffffff"
*/
SetTooltipBgColor:function (strColor) {
},
/**
* Tooltip文字段间距
* @param {Number} nPadding 边距
* @property {Number} TooltipTextSpace 1
*/
SetTooltipTextSpace:function (nPadding) {
},
/**
* Tooltip某项文字内容
* @param {Number} nIndex 索引
* @param {String} strText1 前段文字
* @param {String} strText2 后段文字
* @property {Collection} TooltipTextByIndex [0,"",""]
*/
SetTooltipTextByIndex:function (nIndex,strText1,strText2) {
},
/**
* Tooltip清空
*/
ToolTipClear:function () {
},
/**
* 是否显示x轴
* @param {Boolean} bShow true显示,false不显示
* @property {Boolean} ShowXAxisLine true
*/
ShowXAxisLine:function (bShow) {
},
/**
* X轴颜色
* @param {String} strColor 颜色
* @property {Color} XAxisLineColor "0xff173365"
*/
SetXAxisLineColor:function (strColor) {
},
/**
* X轴宽度
* @param {Number} nWidth 宽度
* @property {Number} XAxisLineWidth 1
*/
SetXAxisLineWidth:function (nWidth) {
},
/**
* 显示x轴刻度
* @param {Boolean} bShow true显示,false不显示
* @property {Boolean} ShowXAxisTick true
*/
ShowXAxisTick:function (bShow) {
},
/**
* x轴刻度长度
* @param {Number} nLength 长度
* @property {Number} XAxisTickLength 0
*/
SetXAxisTickLength:function (nLength) {
},
/**
* x轴刻度宽度
* @param {Number} nWidth 宽度
* @property {Number} XAxisTickWidth 1
*/
SetXAxisTickWidth:function (nWidth) {
},
/**
* x轴刻度方向
* @param {Boolean} bInside true向内,false向外
* @property {Boolean} XAxisTickDirection false
*/
SetXAxisTickDirection:function (bInside) {
},
/**
* 是否显示y轴
* @param {Boolean} bShow true显示,false不显示
* @property {Boolean} ShowYAxisLine true
*/
ShowYAxisLine:function (bShow) {
},
/**
* Y轴颜色
* @param {String} strColor 颜色
* @property {Color} YAxisLineColor "0xff173365"
*/
SetYAxisLineColor:function (strColor) {
},
/**
* Y轴宽度
* @param {Number} nWidth 宽度
* @property {Number} YAxisLineWidth 1
*/
SetYAxisLineWidth:function (nWidth) {
},
/**
* 显示Y轴刻度
* @param {Boolean} bShow true显示false不显示
* @property {Boolean} ShowYAxisTick false
*/
ShowYAxisTick:function (bShow) {
},
/**
* Y轴反向显示
* @param {Boolean} bShow true反向false不反向
* @property {Boolean} ShowYAxisInverse false
*/
ShowYAxisInverse:function (bShow) {
},
/**
* y轴范围
* @param {Double} nMin 最小值
* @param {Double} nMax 最大值
* @property {Collection} YAxiRange [0,100]
*/
SetYAxiRange:function (nMin,nMax) {
},
/**
* y轴刻度长度
* @param {Number} nLength 长度
* @property {Number} YAxisTickLength 0
*/
SetYAxisTickLength:function (nLength) {
},
/**
* y轴刻度宽度
* @param {Number} nWidth 宽度
* @property {Number} YAxisTickWidth 1
*/
SetYAxisTickWidth:function (nWidth) {
},
/**
* y轴刻度方向
* @param {Boolean} bInside true向内,false向外
* @property {Boolean} YAxisTickDirection false
*/
SetYAxisTickDirection:function (bInside) {
},
/**
* y轴刻度颜色
* @param {String} strColor 颜色
* @property {Color} YAxisTickColor "0xff173365"
*/
SetYAxisTickColor:function (strColor) {
},
/**
* y轴科学计数阀值
* @param {Number} nMin 最小阀值
* @param {Number} nMax 最大阀值
* @param {Number} nPre 精度
* @property {Collection} YScientificCountThreshold [0.001,999999,0]
*/
SetYScientificCountThreshold:function (nMin,nMax,nPre) {
},
/**
* x轴科学计数阀值
* @param {Number} nMin 最小阀值
* @param {Number} nMax 最大阀值
* @param {Number} nPre 精度
* @property {Collection} XScientificCountThreshold [0.001,999999,0]
*/
SetXScientificCountThreshold:function (nMin,nMax,nPre) {
},
/**
* 背景绘制
* @param {Boolean} bDrawColor true背景色false背景图
* @property {Boolean} BgDrawColor true
*/
SetBgDrawColor:function (bDrawColor) {
},
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} BackgroundColor "0xff121d36"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 获得背景颜色
* @return {String}
*/
GetBackgroundColor:function () {
},
/**
* 背景图
* @param {ImageProp} strImage 图
* @property {ImageProp} BackgroundImage ""
*/
SetBackgroundImage:function (strImage) {
},
/**
* 获得背景绘制
* @return {Boolean}
*/
IsBgDrawColor:function () {
},
/**
* 获得背景图
* @return {String}
*/
GetBackgroundImage:function () {
},
/**
* 背景图绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 获得背景图绘制模式
* @return {String}
*/
GetPicModel:function () {
},
/**
* 显示X轴辅助刻度
* @param {Boolean} bShow true显示false不显示
* @property {Boolean} XShowMinorTick true
*/
ShowXMinorTick:function (bShow) {
},
/**
* 显示Y轴辅助刻度
* @param {Boolean} bShow true显示false不显示
* @property {Boolean} YShowMinorTick true
*/
ShowYMinorTick:function (bShow) {
},
/**
* X轴辅助刻度颜色
* @param {String} strColor 颜色
* @property {Color} XMinorTickColor "0xff173365"
*/
SetXMinorTickColor:function (strColor) {
},
/**
* Y轴辅助刻度颜色
* @param {String} strColor 颜色
* @property {Color} YMinorTickColor "0xff173365"
*/
SetYMinorTickColor:function (strColor) {
},
/**
* X轴辅助刻度长度
* @param {Number} nLen 长度
* @property {Number} XMinorTickLength 0
*/
SetXMinorTickLength:function (nLen) {
},
/**
* Y轴辅助刻度长度
* @param {Number} nLen 长度
* @property {Number} YMinorTickLength 0
*/
SetYMinorTickLength:function (nLen) {
},
/**
* X轴辅助刻度宽度
* @param {Number} nWidth 宽度
* @property {Number} XMinorTickWidth 1
*/
SetXMinorTickWidth:function (nWidth) {
},
/**
* Y轴辅助刻度宽度
* @param {Number} nWidth 宽度
* @property {Number} YMinorTickWidth 0
*/
SetYMinorTickWidth:function (nWidth) {
},
/**
* X轴分割线显示
* @param {Boolean} bShow true显示false不显示
* @property {Boolean} ShowXSplitLine true
*/
SetShowXSplitLine:function (bShow) {
},
/**
* Y轴分割线显示
* @param {Boolean} bShow true显示false不显示
* @property {Boolean} ShowYSplitLine true
*/
SetShowYSplitLine:function (bShow) {
},
/**
* X轴分割线颜色
* @param {String} strColor 颜色
* @property {Color} XSplitLineColor "0xff1f305b"
*/
SetXSplitLineColor:function (strColor) {
},
/**
* Y轴分割线颜色
* @param {String} strColor 颜色
* @property {Color} YSplitLineColor "0xff1f305b"
*/
SetYSplitLineColor:function (strColor) {
},
/**
* X轴分割线宽度
* @param {Number} nWidth 宽度
* @property {Number} XSplitLineWidth 1
*/
SetXSplitLineWidth:function (nWidth) {
},
/**
* Y轴分割线宽度
* @param {Number} nWidth 宽度
* @property {Number} YSplitLineWidth 1
*/
SetYSplitLineWidth:function (nWidth) {
},
/**
* X轴分割线类型
* @param {String} strType 类型
* @property {Combo} XSplitLineType ["solid","dashed","dotted"]
*/
SetXSplitLineType:function (strType) {
},
/**
* Y轴分割线类型
* @param {String} strType 类型
* @property {Combo} YSplitLineType ["solid","dashed","dotted"]
*/
SetYSplitLineType:function (strType) {
},
/**
* X轴辅助分割线类型
* @param {String} strType 类型
* @property {Combo} XMinorSplitLineType ["solid","dashed","dotted"]
*/
SetXMinorSplitLineType:function (strType) {
},
/**
* Y轴辅助分割线类型
* @param {String} strType 类型
* @property {Combo} YMinorSplitLineType ["solid","dashed","dotted"]
*/
SetYMinorSplitLineType:function (strType) {
},
/**
* X轴辅助分割线颜色
* @param {String} strColor 颜色
* @property {Color} XMinorSplitLineColor "0xff1f305b"
*/
SetXMinorSplitLineColor:function (strColor) {
},
/**
* Y轴辅助分割线颜色
* @param {String} strColor 颜色
* @property {Color} YMinorSplitLineColor "0xff1f305b"
*/
SetYMinorSplitLineColor:function (strColor) {
},
/**
* X轴辅助分割线宽度
* @param {Number} nWidth 宽度
* @property {Number} XMinorSplitLineWidth 1
*/
SetXMinorSplitLineWidth:function (nWidth) {
},
/**
* Y轴辅助分割线宽度
* @param {Number} nWidth 宽度
* @property {Number} YMinorSplitLineWidth 1
*/
SetYMinorSplitLineWidth:function (nWidth) {
},
/**
* X轴辅助分割线数量
* @param {Number} nNUM 数量
* @property {Number} XMinorSplitLineNumber 5
*/
SetXMinorSplitLineNumber:function (nNUM) {
},
/**
* Y轴辅助分割线数量
* @param {Number} nNUM 数量
* @property {Number} YMinorSplitLineNumber 5
*/
SetYMinorSplitLineNumber:function (nNUM) {
},
/**
* 字体大小
* @param {Number} nSize 字体大小
* @property {Number} FontSize 16
*/
SetFontSize:function (nSize) {
},
/**
* Y轴字体大小
* @param {Number} nSize 字体大小
* @property {Number} YTextSize 16
*/
SetYTextSize:function (nSize) {
},
/**
* X轴字体大小
* @param {Number} nSize
* @property {Number} XTextSize 16
*/
SetXTextSize:function (nSize) {
},
/**
* x轴文字颜色
* @param {String} strColor 颜色
* @property {Color} XAixsTextColor "0xffffffff"
*/
SetXAixsTextColor:function (strColor) {
},
/**
* y轴文字颜色
* @param {String} strColor 颜色
* @property {Color} YAixsTextColor "0xffffffff"
*/
SetYAixsTextColor:function (strColor) {
},
/**
* 折线的颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
* @property {Collection} BrokenLineColorByIndex [0,"0xffafbb4d"]
*/
SetBrokenLineColorByIndex:function (nIndex,strColor) {
},
/**
* 折线的宽度
* @param {Number} nIndex 索引
* @param {Number} nWidth 宽度
* @property {Collection} BrokenLineWidthByIndex [0,1]
*/
SetBrokenLineWidthByIndex:function (nIndex,nWidth) {
},
/**
* x轴刻度颜色
* @param {String} strColor 颜色
* @property {Color} XAxisTickColor "0xff173365"
*/
SetXAxisTickColor:function (strColor) {
},
/**
* 获得字体大小
* @return {Number}
*/
GetFontSize:function () {
},
/**
* 获得折线的颜色
* @param {Number} nIndex 索引
* @return {String}
*/
GetBrokenLineColorByIndex:function (nIndex) {
},
/**
* 获得折线的宽度
* @param {Number} nIndex 索引
* @return {Number}
*/
GetBrokenLineWidthByIndex:function (nIndex) {
},
/**
* 获得x轴刻度颜色
* @return {String}
*/
GetXAxisTickColor:function () {
},
/**
* 获得是否显示y轴
* @return {Boolean}
*/
IsYAxisLineVisible:function () {
},
/**
* 获得y轴颜色
* @return {String}
*/
GetYAxisLineColor:function () {
},
/**
* 获得y轴宽度
* @return {Number}
*/
GetYAxisLineWidth:function () {
},
/**
* 获得显示Y轴刻度
* @return {Boolean}
*/
IsYAxisTickVisible:function () {
},
/**
* 获得y轴刻度长度
* @return {Number}
*/
GetYAxisTickLength:function () {
},
/**
* 获得y轴刻度宽度
* @return {Number}
*/
GetYAxisTickWidth:function () {
},
/**
* 获得y轴刻度方向
* @return {Boolean}
*/
IsYAxisTickDirection:function () {
},
/**
* 获得y轴刻度颜色
* @return {String}
*/
GetYAxisTickColor:function () {
},
/**
* 获得是否显示x轴
* @return {Boolean}
*/
IsXAxisLineVisible:function () {
},
/**
* 获得x轴颜色
* @return {String}
*/
GetXAxisLineColor:function () {
},
/**
* 获得x轴宽度
* @return {Number}
*/
GetXAxisLineWidth:function () {
},
/**
* 获得显示x轴刻度
* @return {Boolean}
*/
IsXAxisTickVisible:function () {
},
/**
* 获得x轴刻度长度
* @return {Number}
*/
GetXAxisTickLength:function () {
},
/**
* 获得x轴刻度宽度
* @return {Number}
*/
GetXAxisTickWidth:function () {
},
/**
* 获得x轴刻度方向
* @return {Boolean}
*/
IsXAxisTickDirection:function () {
},
/**
* 获得y轴科学计数阀值
* @return {Array}
*/
GetYScientificCountThreshold:function () {
},
/**
* 获得x轴科学计数阀值
* @return {Array}
*/
GetXScientificCountThreshold:function () {
},
/**
* 获得显示X轴辅助刻度
* @return {Boolean}
*/
IsXMinorTickVisible:function () {
},
/**
* 获得Y轴字体大小
* @return {Number}
*/
GetYTextSize:function () {
},
/**
* 获得X轴字体大小
* @return {Number}
*/
GetXTextSize:function () {
},
/**
* 获得显示Y轴辅助刻度
* @return {Boolean}
*/
IsYMinorTickVisible:function () {
},
/**
* 获得X轴辅助刻度颜色
* @return {String}
*/
GetXMinorTickColor:function () {
},
/**
* 获得Y轴辅助刻度颜色
* @return {String}
*/
GetYMinorTickColor:function () {
},
/**
* 获得X轴辅助刻度长度
* @return {Number}
*/
GetXMinorTickLength:function () {
},
/**
* 获得Y轴辅助刻度长度
* @return {Number}
*/
GetYMinorTickLength:function () {
},
/**
* 获得X轴辅助刻度宽度
* @return {Number}
*/
GetXMinorTickWidth:function () {
},
/**
* 获得Y轴辅助刻度宽度
* @return {Number}
*/
GetYMinorTickWidth:function () {
},
/**
* 获得X轴分割线显示
* @return {Boolean}
*/
IsXSplitLineVisible:function () {
},
/**
* 获得Y轴分割线显示
* @return {Boolean}
*/
IsYSplitLineVisible:function () {
},
/**
* 获得X轴分割线颜色
* @return {String}
*/
GetXSplitLineColor:function () {
},
/**
* 获得Y轴分割线颜色
* @return {String}
*/
GetYSplitLineColor:function () {
},
/**
* 获得X轴分割线宽度
* @return {Number}
*/
GetXSplitLineWidth:function () {
},
/**
* 获得Y轴分割线宽度
* @return {Number}
*/
GetYSplitLineWidth:function () {
},
/**
* 获得X轴分割线类型
* @return {String}
*/
GetXSplitLineType:function () {
},
/**
* 获得Y轴分割线类型
* @return {String}
*/
GetYSplitLineType:function () {
},
/**
* 获得X轴辅助分割线类型
* @return {String}
*/
GetXMinorSplitLineType:function () {
},
/**
* 获得Y轴辅助分割线类型
* @return {String}
*/
GetYMinorSplitLineType:function () {
},
/**
* 获得X轴辅助分割线颜色
* @return {String}
*/
GetXMinorSplitLineColor:function () {
},
/**
* 获得Y轴辅助分割线颜色
* @return {String}
*/
GetYMinorSplitLineColor:function () {
},
/**
* 获得X轴辅助分割线宽度
* @return {Number}
*/
GetXMinorSplitLineWidth:function () {
},
/**
* 获得Y轴辅助分割线宽度
* @return {Number}
*/
GetYMinorSplitLineWidth:function () {
},
/**
* 获得X轴辅助分割线数量
* @return {Number}
*/
GetXMinorSplitLineNumber:function () {
},
/**
* 获得Y轴辅助分割线数量
* @return {Number}
*/
GetYMinorSplitLineNumber:function () {
},
/**
* 获得x轴文字颜色
* @return {String}
*/
GetXAixsTextColor:function () {
},
/**
* 获得y轴文字颜色
* @return {String}
*/
GetYAixsTextColor:function () {
},
/**
* 图表位置
* @param {String} strLeft 左
* @param {String} strRight 右
* @param {String} strBot 下
* @param {String} strTop 上
* @property {Collection} ChartPosition ["3%","4%","3%","8%"]
*/
SetChartPosition:function (strLeft,strRight,strBot,strTop) {
},
/**
* 获得图表位置
* @return {Array}
*/
GetChartPosition:function () {
},
/**
* 数据
* @param {Number} nIndex 线的索引
* @param {Array} arrData 数据
*/
SetData:function (nIndex,arrData) {
},
/**
* 获得数据
* @param {Number} nIndex 线的索引
* @return {Array}
*/
GetData:function (nIndex) {
},
/**
* 单个数据
* @param {Number} nLine 线的索引
* @param {Number} nIndex 索引
* @param {Array} arrData 数据
*/
SetDataByIndex:function (nLine,nIndex,arrData) {
},
/**
* 获得单个数据
* @param {Number} nLine 线的索引
* @param {Number} nIndex 索引
* @return {Array}
*/
GetDataByIndex:function (nLine,nIndex) {
},
/**
* 增加数据
* @param {Number} nLine 线的索引
* @param {Float} dXValue x数据
* @param {Float} dYValue y数据
*/
AddData:function (nLine,dXValue,dYValue) {
},
/**
* 增加线
* @param {Array} arrData 数据
* @param {String} strColor 颜色
*/
AddLine:function (arrData,strColor) {
},
/**
* 删除一个数据
* @param {Number} nIndex1 线索引
* @param {Number} nIndex2 点索引
*/
DeleteDataByIndex:function (nIndex1,nIndex2) {
},
/**
* 删除一条线
* @param {Number} nIndex 索引
*/
DeleteLineByIndex:function (nIndex) {
},
/**
* 清空
*/
ClearData:function () {
},
}