/**
* @constructor
*/
function XUILineLogar() {
}
XUILineLogar.prototype = {
//组件
/**
"Title":{
"title":"标题",
"name":"title",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"TOOLTIP":{
"title":"提示框",
"name":"tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"xAxis":{
"title":"x轴",
"name":"xAxis",
"type":"PUIXAxisInterface",
"index":0
}*/
/**
"yAxis":{
"title":"y轴",
"name":"yAxis",
"type":"PUIYAxisInterface",
"index":0
}*/
/**
"line0":{
"title":"折线0",
"name":"line0",
"type":"PUILineInterface",
"index":0
}*/
/**
"line1":{
"title":"折线1",
"name":"line1",
"type":"PUILineInterface",
"index":1
}*/
/**
"line2":{
"title":"折线2",
"name":"line2",
"type":"PUILineInterface",
"index":2
}*/
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
//接口
/**
* 是否颜色绘制
* @param {Boolean} bColor 是否颜色绘制
* @property {Boolean} DrawColor true
*/
IsDrawColor:function (bColor) {
},
/**
* 设置背景色
* @param {String} strColor 背景色
* @property {Color} BgColor "0xffffffff"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 设置背景图片
* @param {String} strImage 背景图片
* @property {String} BackgroundImage ""
*/
SetBackgroundImage:function (strImage) {
},
/**
* 图片绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 设置主标题名
* @param {String} strName 主标题名
* @property {String} TextName "示例主标题"
*/
SetTextName:function (strName) {
},
/**
* 获取主标题名
* @return {String}
*/
GetTextName:function () {
},
/**
* 设置副标题名
* @param {String} strName 副标题名
* @property {String} SubTextName "示例副标题"
*/
SetSubTextName:function (strName) {
},
/**
* 获取副标题名
* @return {String}
*/
GetSubTextName:function () {
},
/**
* 设置线宽
* @param {Number} nWidth 线宽
* @property {Number} LineWidth 2
*/
SetLineWidth:function (nWidth) {
},
/**
* 获取线宽
* @return {Number}
*/
GetLineWidth:function () {
},
/**
* 设置线类型
* @param {String} sType 线类型
* @property {Combo} LineTpye ["solid","dashed","dotted"]
*/
SetLineTpye:function (sType) {
},
/**
* 获取线类型
* @return {String}
*/
GetLineTpye:function () {
},
/**
* 设置指定的线颜色
* @param {String} strName 分类的名字
* @param {String} strColor 指定的线颜色
* @property {Collection} LineColor ["示例一","0xffff0000"]
*/
SetLineColor:function (strName,strColor) {
},
/**
* 获取指定的线颜色
* @return {String}
*/
GetLineColor:function () {
},
/**
* 设置X轴文字颜色
* @param {String} strColor X轴文字颜色
* @property {Color} XAxisTextColor "0xff000000"
*/
SetXAxisTextColor:function (strColor) {
},
/**
* 获取X轴文字颜色
* @return {String}
*/
GetXAxisTextColor:function () {
},
/**
* 设置Y轴文字颜色
* @param {String} strColor Y轴文字颜色
* @property {Color} YAxisTextColor "0xff000000"
*/
SetYAxisTextColor:function (strColor) {
},
/**
* 获取Y轴文字颜色
* @return {String}
*/
GetYAxisTextColor:function () {
},
/**
* 设置X轴文字大小
* @param {Number} nSize X轴文字大小
* @property {Number} XAxisTextSize 14
*/
SetXAxisTextSize:function (nSize) {
},
/**
* 获取X轴文字大小
* @return {Number}
*/
GetXAxisTextSize:function () {
},
/**
* 设置X轴名称大小
* @param {Number} nSize X轴名称大小
* @property {Number} XAxisNameSize 12
*/
SetXAxisNameSize:function (nSize) {
},
/**
* 获取X轴名称大小
* @return {Number}
*/
GetXAxisNameSize:function () {
},
/**
* 设置Y轴文字大小
* @param {Number} nSize Y轴文字大小
* @property {Number} YAxisTextSize 14
*/
SetYAxisTextSize:function (nSize) {
},
/**
* 获取Y轴文字大小
* @return {Number}
*/
GetYAxisTextSize:function () {
},
/**
* 设置Y轴名称大小
* @param {Number} nSize Y轴名称大小
* @property {Number} YAxisNameSize 12
*/
SetYAxisNameSize:function (nSize) {
},
/**
* 获取Y轴名称大小
* @return {Number}
*/
GetYAxisNameSize:function () {
},
/**
* 设置线节点类型
* @param {String} strType 线节点类型
* @property {Combo} NodeType ["emptyCircle","rect","circle","roundRect", "triangle", "diamond", "pin", "arrow", "none"]
*/
SetNodeType:function (strType) {
},
/**
* 获取线节点类型
* @return {String}
*/
GetNodeType:function () {
},
/**
* 设置节点大小
* @param {Number} nSize 节点大小
* @property {Number} NodeSize 4
*/
SetNodeSize:function (nSize) {
},
/**
* 获取节点大小
* @return {Number}
*/
GetNodeSize:function () {
},
/**
* 设置是否显示X轴分割线
* @param {Boolean} bShow X轴分割线
* @property {Boolean} XAxisSplitLine false
*/
SetXAxisSplitLine:function (bShow) {
},
/**
* 获取X轴分割线显示状态
* @return {Boolean}
*/
GetXAxisSplitLine:function () {
},
/**
* 设置是否显示Y轴分割线
* @param {Boolean} bShow Y轴分割线
* @property {Boolean} YAxisSplitLine true
*/
SetYAxisSplitLine:function (bShow) {
},
/**
* 获取Y轴分割线显示状态
* @return {Boolean}
*/
GetYAxisSplitLine:function () {
},
/**
* 设置X轴刻度名
* @param {Array} arrName 刻度名
* @property {Array} XAxisName ["一", "二", "三", "四", "五", "六", "七", "八", "九"]
*/
SetXAxisValue:function (arrName) {
},
/**
* 获取X轴刻度名
* @return {Array}
*/
GetXAxisValue:function () {
},
/**
* 增加数据分类
* @param {String} strName 增加的类名
* @param {Array} nData 增加的数据
*/
SetAddData:function (strName,nData) {
},
/**
* 删除数据分类
* @param {Number} nClass 要删除的分类的索引
*/
SetRemoveClass:function (nClass) {
},
/**
* 增加数据线
* @param {Array} arrData 增加数据
*/
AddDataForProp:function (arrData) {
},
/**
* 通过名字修改数据
* @param {String} strName 线名
* @param {Number} nIndex 要修改的位置的索引
* @param {Number} nData 要修改的数据
*/
SetData:function (strName,nIndex,nData) {
},
/**
* 通过名字删除数据
* @param {String} strName 线名
* @property {String} RemoveClassByName "线名"
*/
SetRemoveClassByName:function (strName) {
},
/**
* 设置清空数据
*/
SetClearData:function () {
},
}