/**
* @constructor
*/
function XUIPerformanceLines() {
}
XUIPerformanceLines.prototype = {
//组件
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"line1":{
"title":"折线图1",
"name":"line1",
"type":"PUILineInterface",
"index":0
}*/
/**
"line2":{
"title":"折线图2",
"name":"line2",
"type":"PUILineInterface",
"index":1
}*/
//接口
/**
* 背景颜色
* @param {String} strBgColor 背景颜色
* @property {Color} BgColor "0xff0A181C"
*/
SetBgColor:function (strBgColor) {
},
/**
* 获取背景色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 图例图标
* @param {Number} nIndex 索引
* @param {String} strIcon 图标
* @property {Collection} LegendIcon [0,"image://common_2dChart/XUIPerformanceLines/images/sbwc_xzq_tuli.png"]
*/
SetLegendIcon:function (nIndex,strIcon) {
},
/**
* 获取第一个图标路径
* @return {String}
*/
GetLegendIcon1:function () {
},
/**
* 获取第二个图标路径
* @return {String}
*/
GetLegendIcon2:function () {
},
/**
* 图例距上方距离
* @param {String} strTop 距上方距离
* @property {String} LegendTop "2%"
*/
SetLegendTop:function (strTop) {
},
/**
* 获取图例距上方距离
* @return {String}
*/
GetLegendTop:function () {
},
/**
* 图例距左侧距离
* @param {String} strLeft 距左侧距离
* @property {String} LegendLeft "70%"
*/
SetLegendLeft:function (strLeft) {
},
/**
* 获取图例距左侧距离
* @return {String}
*/
GetLegendLeft:function () {
},
/**
* 图例文本颜色
* @param {String} strColor 图例文本颜色
* @property {Color} LegendTextColor "0xffFFFFFF"
*/
SetLegendTextColor:function (strColor) {
},
/**
* 获取图例文本颜色
* @return {String}
*/
GetLegendTextColor:function () {
},
/**
* 图例文本大小
* @param {Number} nSize 图例文本大小
* @property {Number} LegendTextSize 15
*/
SetLegendTextSize:function (nSize) {
},
/**
* 获取图例文本大小
* @return {Number}
*/
GetLegendTextSize:function () {
},
/**
* X轴轴名称
* @param {String} strName X轴轴名称
* @property {String} XAxisName "/°"
*/
SetXAxisName:function (strName) {
},
/**
* 获取X轴名称
* @return {String}
*/
GetXAxisName:function () {
},
/**
* X轴名称位置
* @param {String} strLocation 名称位置
* @property {Combo} XAxisNameLocation ["start","middle","end"]
*/
SetXAxisNameLocation:function (strLocation) {
},
/**
* 获取X轴名称位置
* @return {String}
*/
GetXAxisNameLocation:function () {
},
/**
* X轴名称距轴位置
* @param {Number} nNameGap 名称距轴位置
* @property {Number} XAxisNameGap 45
*/
SetXAxisNameGap:function (nNameGap) {
},
/**
* 获取X轴名称距轴位置
* @return {Number}
*/
GetXAxisNameGap:function () {
},
/**
* X轴名称颜色
* @param {String} strColor X轴名称颜色
* @property {Color} XAxisNameColor "0xffFF0000"
*/
SetXAxisNameColor:function (strColor) {
},
/**
* 获取X轴名称颜色
* @return {String}
*/
GetXAxisNameColor:function () {
},
/**
* X轴分割间隔
* @param {Number} nInterval X轴分割间隔
* @property {Number} XAxisInterval 5
*/
SetXAxisInterval:function (nInterval) {
},
/**
* 获取X轴分割间隔
* @return {Number}
*/
GetXAxisInterval:function () {
},
/**
* X轴刻度最小值
* @param {Number} nMin 刻度最小值
* @property {Number} XAxisMin -10
*/
SetXAxisMin:function (nMin) {
},
/**
* 获取X轴刻度最小值
* @return {Number}
*/
GetXAxisMin:function () {
},
/**
* X轴刻度最大值
* @param {Number} nMax 刻度最大值
* @property {Number} XAxisMax 10
*/
SetXAxisMax:function (nMax) {
},
/**
* 获取X轴刻度最大值
* @return {Number}
*/
GetXAxisMax:function () {
},
/**
* X轴轴线显示
* @param {Boolean} bShow X轴轴线显示
* @property {Boolean} XAxisLineShow true
*/
SetXAxisLineShow:function (bShow) {
},
/**
* 获取X轴轴线显示状态
* @return {Boolean}
*/
GetXAxisLineShow:function () {
},
/**
* X轴轴线颜色
* @param {String} strColor X轴轴线颜色
* @property {Color} XAxisLineColor "0xff003373"
*/
SetXAxisLineColor:function (strColor) {
},
/**
* 获取X轴轴线颜色
* @return {String}
*/
GetXAxisLineColor:function () {
},
/**
* X轴轴线宽度
* @param {Number} nWidth X轴轴线宽度
* @property {Number} XAxisLineWidth 2
*/
SetXAxisLineWidth:function (nWidth) {
},
/**
* 获取X轴轴线宽度
* @return {Number}
*/
GetXAxisLineWidth:function () {
},
/**
* X轴标签是否显示
* @param {Boolean} bShow 标签是否显示
* @property {Boolean} XAxisLabelShow true
*/
SetXAxisLabelShow:function (bShow) {
},
/**
* 获取X轴标签是否显示
* @return {Boolean}
*/
GetXAxisLabelShow:function () {
},
/**
* X轴标签颜色
* @param {String} strColor X轴标签颜色
* @property {Color} XAxisLabelColor "0xffFF0000"
*/
SetXAxisLabelColor:function (strColor) {
},
/**
* 获取X轴标签颜色
* @return {String}
*/
GetXAxisLabelColor:function () {
},
/**
* X轴分隔线是否显示
* @param {Boolean} bShow 分隔线是否显示
* @property {Boolean} XAxisSplitShow false
*/
SetXAxisSplitShow:function (bShow) {
},
/**
* 获取X轴分隔线是否显示
* @return {Boolean}
*/
GetXAxisSplitShow:function () {
},
/**
* X轴刻度是否显示
* @param {Boolean} bShow 刻度是否显示
* @property {Boolean} XAxisTickShow false
*/
SetXAxisTickShow:function (bShow) {
},
/**
* 获取X轴刻度是否显示
* @return {Boolean}
*/
GetXAxisTickShow:function () {
},
/**
* Y轴轴名称
* @param {String} strName Y轴轴名称
* @property {String} YAxisName "发电性能指标 IG"
*/
SetYAxisName:function (strName) {
},
/**
* 获取Y轴名称
* @return {String}
*/
GetYAxisName:function () {
},
/**
* Y轴名称位置
* @param {String} strLocation 名称位置
* @property {Combo} YAxisNameLocation ["start","middle","end"]
*/
SetYAxisNameLocation:function (strLocation) {
},
/**
* 获取Y轴名称位置
* @return {String}
*/
GetYAxisNameLocation:function () {
},
/**
* Y轴名称距轴位置
* @param {Number} nNameGap 名称距轴位置
* @property {Number} YAxisNameGap 45
*/
SetYAxisNameGap:function (nNameGap) {
},
/**
* 获取Y轴名称距轴位置
* @return {Number}
*/
GetYAxisNameGap:function () {
},
/**
* Y轴名称颜色
* @param {String} strColor Y轴名称颜色
* @property {Color} YAxisNameColor "0xffFFFFFF"
*/
SetYAxisNameColor:function (strColor) {
},
/**
* 获取Y轴名称颜色
* @return {String}
*/
GetYAxisNameColor:function () {
},
/**
* Y轴分割间隔
* @param {Number} nInterval Y轴分割间隔
* @property {Number} YAxisInterval 0.05
*/
SetYAxisInterval:function (nInterval) {
},
/**
* 获取Y轴分割间隔
* @return {Number}
*/
GetYAxisInterval:function () {
},
/**
* Y轴刻度最小值
* @param {Number} nMin 刻度最小值
* @property {Number} YAxisMin -0.25
*/
SetYAxisMin:function (nMin) {
},
/**
* 获取Y轴刻度最小值
* @return {Number}
*/
GetYAxisMin:function () {
},
/**
* Y轴刻度最大值
* @param {Number} nMax 刻度最大值
* @property {Number} YAxisMax 0.55
*/
SetYAxisMax:function (nMax) {
},
/**
* 获取Y轴刻度最大值
* @return {Number}
*/
GetYAxisMax:function () {
},
/**
* Y轴轴线显示
* @param {Boolean} bShow Y轴轴线显示
* @property {Boolean} YAxisLineShow true
*/
SetYAxisLineShow:function (bShow) {
},
/**
* 获取Y轴轴线显示状态
* @return {Boolean}
*/
GetYAxisLineShow:function () {
},
/**
* Y轴轴线颜色
* @param {String} strColor Y轴轴线颜色
* @property {Color} YAxisLineColor "0xff003373"
*/
SetYAxisLineColor:function (strColor) {
},
/**
* 获取Y轴轴线颜色
* @return {String}
*/
GetYAxisLineColor:function () {
},
/**
* Y轴轴线宽度
* @param {Number} nWidth Y轴轴线宽度
* @property {Number} YAxisLineWidth 2
*/
SetYAxisLineWidth:function (nWidth) {
},
/**
* 获取Y轴轴线宽度
* @return {Number}
*/
GetYAxisLineWidth:function () {
},
/**
* Y轴标签是否显示
* @param {Boolean} bShow 标签是否显示
* @property {Boolean} YAxisLabelShow true
*/
SetYAxisLabelShow:function (bShow) {
},
/**
* 获取Y轴标签是否显示
* @return {Boolean}
*/
GetYAxisLabelShow:function () {
},
/**
* Y轴标签颜色
* @param {String} strColor Y轴标签颜色
* @property {Color} YAxisLabelColor "0xffFFFFFF"
*/
SetYAxisLabelColor:function (strColor) {
},
/**
* 获取Y轴标签颜色
* @return {String}
*/
GetYAxisLabelColor:function () {
},
/**
* Y轴分隔线是否显示
* @param {Boolean} bShow 分隔线是否显示
* @property {Boolean} YAxisSplitShow false
*/
SetYAxisSplitShow:function (bShow) {
},
/**
* 获取Y轴分隔线是否显示
* @return {Boolean}
*/
GetYAxisSplitShow:function () {
},
/**
* Y轴刻度是否显示
* @param {Boolean} bShow 刻度是否显示
* @property {Boolean} YAxisTickShow false
*/
SetYAxisTickShow:function (bShow) {
},
/**
* 获取Y轴刻度是否显示
* @return {Boolean}
*/
GetYAxisTickShow:function () {
},
/**
* 折线名称
* @param {Number} nIndex 索引
* @param {String} strName 折线名称
* @property {Collection} LineName [0,"修正前"]
*/
SetLineName:function (nIndex,strName) {
},
/**
* 获取第一段折线名称
* @return {String}
*/
GetFirstLineName:function () {
},
/**
* 获取第二段折线名称
* @return {String}
*/
GetSecondLineName:function () {
},
/**
* 折线颜色
* @param {Number} nIndex 索引
* @param {String} strColor 折线颜色
* @property {Collection} LineColor [0,"0xffADB413"]
*/
SetLineColor:function (nIndex,strColor) {
},
/**
* 获取第一段折线颜色
* @return {String}
*/
GetFirstLineColor:function () {
},
/**
* 获取第二段折线颜色
* @return {String}
*/
GetSecondLineColor:function () {
},
/**
* 折线类型
* @param {Number} nIndex 索引
* @param {String} strType 折线类型
* @property {Collection} LineType [0,"dotted"]
*/
SetLineType:function (nIndex,strType) {
},
/**
* 获取第一段折线类型
* @return {String}
*/
GetFirstLineType:function () {
},
/**
* 获取第二段折线类型
* @return {String}
*/
GetSecondLineType:function () {
},
/**
* 标线颜色
* @param {Number} nIndex 索引
* @param {String} strColor 标线颜色
* @property {Collection} MarkLineColor [0,"0xff012051"]
*/
SetMarkLineColor:function (nIndex,strColor) {
},
/**
* 获取第一段标线颜色
* @return {String}
*/
GetFirstMarkLineColor:function () {
},
/**
* 获取第二段标线颜色
* @return {String}
*/
GetSecondMarkLineColor:function () {
},
/**
* 标线宽度
* @param {Number} nIndex 索引
* @param {Number} nWidth 标线宽度
* @property {Collection} MarkLineWidth [0,2]
*/
SetMarkLineWidth:function (nIndex,nWidth) {
},
/**
* 获取第一段标线宽度
* @return {Number}
*/
GetFirstMarkLineWidth:function () {
},
/**
* 获取第二段标线宽度
* @return {Number}
*/
GetSecondMarkLineWidth:function () {
},
/**
* 背景颜色绘制
* @param {Boolean} bDrawColor
* @property {Boolean} BgDrawColor true
*/
SetDrawColor:function (bDrawColor) {
},
/**
* 背景颜色
* @param {String} strBgColor 背景颜色
* @property {Color} CtrlBgColor "0xff0A181C"
*/
SetCtrlBgColor:function (strBgColor) {
},
/**
* 图片绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 增加一组数据
* @param {Array} arrData 增加一组数据
*/
AddOneGroupData:function (arrData) {
},
/**
* 获得一组数据
* @param {Number} nIndex 索引
*/
GetOneGroupData:function (nIndex) {
},
/**
* 删除所有数据
*/
ClearAllData:function () {
},
/**
* 删除一组数据
* @param {Number} nIndex 索引
*/
RemoveOneGroupData:function (nIndex) {
},
}