/**
* @constructor
*/
function XUIContrastDiagram() {
}
XUIContrastDiagram.prototype = {
//组件
/**
"Title":{
"title":"标题",
"name":"title",
"type":"PUITitleInterface",
"index":0
}*/
/**
"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
}*/
/**
"line0":{
"title":"折线0",
"name":"line0",
"type":"PUILineInterface",
"index":0
}*/
/**
"line1":{
"title":"折线1",
"name":"line1",
"type":"PUILineInterface",
"index":1
}*/
//接口
/**
* 显示标题
* @param {Boolean} bVisible 是否显示
* @property {Boolean} ShowTitle true
*/
SetShowTitle:function (bVisible) {
},
/**
* 是否显示标题
* @return {Boolean}
*/
IsShowTitle:function () {
},
/**
* 标题颜色
* @param {String} strColor 标题颜色
* @property {Color} TitleColor "0xffffffff"
*/
SetTitleColor:function (strColor) {
},
/**
* 标题文字
* @param {String} strText 标题文字
* @property {String} TitleText "对比图"
*/
SetTitleText:function (strText) {
},
/**
* 标题大小
* @param {Number} nSize 标题文字尺寸
* @property {Number} TitleSize 24
*/
SetTitleSize:function (nSize) {
},
/**
* 背景颜色
* @param {String} strBgColor 背景颜色
* @property {Color} BgColor "0xff0A181C"
*/
SetBgColor:function (strBgColor) {
},
/**
* 获取背景色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 是否显示X轴
* @param {Boolean} bVisible 是否显示
* @property {Boolean} ShowX true
*/
SetShowXAxis:function (bVisible) {
},
/**
* x轴颜色
* @param {String} strXColor x轴颜色
* @property {Color} XColor "0xff065456"
*/
SetXAxisColor:function (strXColor) {
},
/**
* 获取x轴颜色
* @return {String}
*/
GetXAxisColor:function () {
},
/**
* x轴文本大小
* @param {Number} nSize x轴文本大小
* @property {Number} XTextSize 16
*/
SetXAxisTextSize:function (nSize) {
},
/**
* x轴宽度
* @param {Number} nXWidth x轴宽度
* @property {Number} XWidth 1
*/
SetXAxisWidth:function (nXWidth) {
},
/**
* 获取x轴宽度
* @return {Number}
*/
GetXAxisWidth:function () {
},
/**
* x轴文本颜色
* @param {String} strColor x轴文本颜色
* @property {Color} XTextColor "0xff88999C"
*/
SetXAxisTextColor:function (strColor) {
},
/**
* 获取x轴文本颜色
* @return {String}
*/
GetXAxisTextColor:function () {
},
/**
* 显示Y轴
* @param {Boolean} bVisible 是否显示
* @property {Boolean} ShowY true
*/
SetShowYAxis:function (bVisible) {
},
/**
* 是否显示Y轴
* @return {Boolean}
*/
IsShowYAxis:function () {
},
/**
* y轴颜色
* @param {String} strColor y轴颜色
* @property {Color} YColor "0xff065456"
*/
SetYAxisColor:function (strColor) {
},
/**
* 获取y轴颜色
* @return {String}
*/
GetYAxisColor:function () {
},
/**
* y轴宽度
* @param {Number} nYWidth y轴宽度
* @property {Number} YWidth 1
*/
SetYAxisWidth:function (nYWidth) {
},
/**
* 获取y轴宽度
* @return {Number}
*/
GetYAxisWidth:function () {
},
/**
* y轴文本颜色
* @param {String} strColor y轴文本颜色
* @property {Color} YTextColor "0xff859699"
*/
SetYAxisTextColor:function (strColor) {
},
/**
* 获取y轴文本颜色
* @return {String}
*/
GetYAxisTextColor:function () {
},
/**
* Y轴文本大小
* @param {Number} nSize Y轴文本大小
* @property {Number} YTextSize 12
*/
SetYAxisTextSize:function (nSize) {
},
/**
* 实际值数据
* @param {Number} nIndex 内容分组下标
* @param {Number} nSymbolData 内容数据
* @property {Collection} SymbolData [1,30]
*/
SetSymbolData:function (nIndex,nSymbolData) {
},
/**
* 获取实际数据
* @param {Number} nIndex 内容分组下标
* @return {Number}
*/
GetSymbolData:function (nIndex) {
},
/**
* 获取所有实际数据
* @return {Array}
*/
GetAllSymbolData:function () {
},
/**
* 参考值数据
* @param {Number} nIndex 内容分组下标
* @param {Number} nStandardData 内容数据
* @property {Collection} StandardData [1,54]
*/
SetStandardData:function (nIndex,nStandardData) {
},
/**
* 获取参考值数据
* @param {Number} nIndex 内容分组下标
* @return {Number}
*/
GetStandardData:function (nIndex) {
},
/**
* 获取所有参考值数据
* @return {Array}
*/
GetAllStandardData:function () {
},
/**
* 添加一项数据
* @param {Number} nOneData1 一项实际数据
* @param {Number} nOneData2 一项参考值数据
* @param {String} StrDataName 一项数据名称
*/
AddOneData:function (nOneData1,nOneData2,StrDataName) {
},
/**
* 清除一项数据
* @param {String} strDataName 一项数据名称
*/
DeleteDataByMonth:function (strDataName) {
},
/**
* 清除所有数据
*/
DeleteAllData:function () {
},
/**
* 数据图例文字
* @param {Number} nIndex 内容分组下标
* @param {String} strText 标题文字
* @property {Collection} LegendText [0,"实际值"]
*/
SetLegendText:function (nIndex,strText) {
},
/**
* 数据图例文字大小
* @param {Number} nSize 标题文字大小
* @property {Number} LegendTextSize 20
*/
SetLegendTextSize:function (nSize) {
},
/**
* 数据图例文字颜色
* @param {String} strColor 背景颜色
* @property {Color} LegendTextColor "0xff0A181C"
*/
SetLegendTextColor:function (strColor) {
},
}