/**
* @constructor
*/
function XUILineStepLine() {
}
XUILineStepLine.prototype = {
//组件
/**
"line1":{
"title":"折线图1",
"name":"line1",
"type":"PUILineInterface",
"index":0
}*/
/**
"line2":{
"title":"折线图2",
"name":"line2",
"type":"PUILineInterface",
"index":1
}*/
/**
"line3":{
"title":"折线图3",
"name":"line3",
"type":"PUILineInterface",
"index":2
}*/
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
/**
"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
}*/
//接口
/**
* 增加x轴数据
* @param {Array} arrData x轴数据
*/
AddXAxisData:function (arrData) {
},
/**
* 增加数据
* @param {String} strName 名称
* @param {Array} arrData 数据
* @param {String} strColor 颜色
*/
AddData:function (strName,arrData,strColor) {
},
/**
* 通过名字修改数据
* @param {String} strName 线名
* @param {Number} nIndex 要修改的位置的索引
* @param {Number} nData 要修改的数据
*/
ChangeDataByName:function (strName,nIndex,nData) {
},
/**
* 通过名字删除数据
* @param {String} strName 线名
*/
RemoveDataByName:function (strName) {
},
/**
* 设置清空数据
*/
RemoveAllData:function () {
},
/**
* 设置背景色
* @param {String} strColor 背景色
* @property {Color} BgColor "0xffffffff"
*/
SetBgColor:function (strColor) {
},
/**
* 主标题
* @param {String} strText 主标题名
* @property {String} TitleText "示例主标题"
*/
SetTitleText:function (strText) {
},
/**
* 主标题颜色
* @param {String} strColor 主标题颜色
* @property {Color} TitleFontColor "0xff333333"
*/
SetTitleFontColor:function (strColor) {
},
/**
* 主标题大小
* @param {Number} nSize 主标题大小
* @property {Number} TitleFontSize 18
*/
SetTitleFontSize:function (nSize) {
},
/**
* 副标题
* @param {String} strText 副标题名
* @property {String} SubTitleText "示例副标题"
*/
SetSubTitleText:function (strText) {
},
/**
* 副标题颜色
* @param {String} strColor 副标题颜色
* @property {Color} SubTitleFontColor "0xffaaaaaa"
*/
SetSubTitleFontColor:function (strColor) {
},
/**
* 副标题大小
* @param {Number} nSize 副标题大小
* @property {Number} SubTitleFontSize 12
*/
SetSubTitleFontSize:function (nSize) {
},
/**
* 图例水平布局方式
* @param {String} strHorAlign 水平布局方式
* @property {Combo} LegendHorAlign ["center","left","right"]
*/
SetLegendHorAlign:function (strHorAlign) {
},
/**
* 图例竖直布局方式
* @param {String} strVerAlign 竖直布局方式
* @property {Combo} LegendVerAlign ["bottom","middle","top"]
*/
SetLegendVerAlign:function (strVerAlign) {
},
/**
* 图例布局朝向
* @param {String} strOrient 布局朝向
* @property {Combo} LegendOrient ["horizontal","vertical"]
*/
SetLegendOrient:function (strOrient) {
},
/**
* 图例文本颜色
* @param {String} strColor 颜色
* @property {Color} LegendFontColor "0xff333333"
*/
SetLegendFontColor:function (strColor) {
},
/**
* 线宽
* @param {Number} nWidth 线宽
* @property {Number} LineWidth 2
*/
SetLineWidth:function (nWidth) {
},
/**
* 线型
* @param {String} sType 线类型
* @property {Combo} LineTpye ["solid","dashed","dotted"]
*/
SetLineTpye:function (sType) {
},
/**
* 设置阶梯类型
* @param {String} strType 指定的线的类型
* @property {Combo} LineStep ["start","middle","end"]
*/
SetLineStepType:function (strType) {
},
/**
* 节点类型
* @param {String} sType 线节点类型
* @property {Combo} NodeType ["emptyCircle","rect","circle","roundRect", "triangle", "diamond", "pin", "arrow", "none"]
*/
SetNodeType:function (sType) {
},
/**
* 节点大小
* @param {Number} nSize 节点大小
* @property {Number} NodeSize 4
*/
SetNodeSize:function (nSize) {
},
/**
* 显示X轴分割线
* @param {Boolean} bVisible X轴分割线
* @property {Boolean} XAxisSplitLineVisible false
*/
SetXAxisSplitLineVisible:function (bVisible) {
},
/**
* 显示Y轴分割线
* @param {Boolean} bVisible Y轴分割线
* @property {Boolean} YAxisSplitLineVisible true
*/
SetYAxisSplitLineVisible:function (bVisible) {
},
/**
* X轴名称
* @param {String} strName X轴命名
* @property {String} XAxisName ""
*/
SetXAxisName:function (strName) {
},
/**
* X轴名称大小
* @param {Number} nSize X轴名称大小
* @property {Number} XAxisNameSize 12
*/
SetXAxisNameSize:function (nSize) {
},
/**
* X轴文本大小
* @param {Number} nSize X轴文字大小
* @property {Number} XAxisTextSize 14
*/
SetXAxisFontSize:function (nSize) {
},
/**
* X轴文本颜色
* @param {String} strColor X轴文字颜色
* @property {Color} XAxisFontColor "0xff000000"
*/
SetXAxisFontColor:function (strColor) {
},
/**
* Y轴名称
* @param {String} strName X轴命名
* @property {String} YAxisName ""
*/
SetYAxisName:function (strName) {
},
/**
* Y轴名称大小
* @param {Number} nSize Y轴名称大小
* @property {Number} YAxisNameSize 12
*/
SetYAxisNameSize:function (nSize) {
},
/**
* Y轴文本大小
* @param {Number} nSize Y轴文字大小
* @property {Number} YAxisFontSize 14
*/
SetYAxisFontSize:function (nSize) {
},
/**
* Y轴文本颜色
* @param {String} strColor Y轴文字颜色
* @property {Color} YAxisFontColor "0xff000000"
*/
SetYAxisFontColor:function (strColor) {
},
}