/**
* @constructor
*/
function XUINightingaleRoseDiagram() {
}
XUINightingaleRoseDiagram.prototype = {
//组件
/**
"title":{
"title":"标题",
"name":"title",
"type":"PUITitleInterface",
"index":0
}*/
/**
"tooltip":{
"title":"提示框",
"name":"tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
/**
"pie":{
"title":"饼图",
"name":"pie",
"type":"PUIPieInterface",
"index":0
}*/
//接口
/**
* 标题内容
* @param {String} strText 标题文本
* @property {String} TitleText "标题文本"
*/
SetTitleText:function (strText) {
},
/**
* 副标题名称
* @param {String} strText 副标题文本
* @property {String} SubTitleText "副标题文本"
*/
SetSubTitleText:function (strText) {
},
/**
* 标题字体大小
* @param {Number} nSize 标题字体大小
* @property {Number} TitleFontSize 18
*/
SetTitleFontSize:function (nSize) {
},
/**
* 标题颜色
* @param {String} strColor 标题文本颜色
* @property {Color} TitleFontColor "0xff333333"
*/
SetTitleFontColor:function (strColor) {
},
/**
* 标题字体样式
* @param {String} strFamily 标题字体样式
*/
SetTitleFontFamily:function (strFamily) {
},
/**
* 副标题字体大小
* @param {Number} nSize 副标题字体大小
* @property {Number} SubTitleFontSize 12
*/
SetSubTitleFontSize:function (nSize) {
},
/**
* 副标题颜色
* @param {String} strColor 副标题文本颜色
* @property {Color} SubTitleFontColor "0xffaaaaaa"
*/
SetSubTitleFontColor:function (strColor) {
},
/**
* 副标题字体样式
* @param {String} strFamily 副标题字体样式
*/
SetSubTitleFontFamily:function (strFamily) {
},
/**
* 标题水平布局方式
* @param {String} strHorAlign 水平布局方式
* @property {Combo} TitleHorAlign ["center","left","right"]
*/
SetTitleHorAlign:function (strHorAlign) {
},
/**
* 标题垂直布局方式
* @param {String} strVerAlign 垂直布局方式
* @property {Combo} TitleVerAlign ["top","middle","bottom"]
*/
SetTitleVerAlign:function (strVerAlign) {
},
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} BgColor "0xffffffff"
*/
SetBgColor:function (strColor) {
},
/**
* 图例水平布局方式
* @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) {
},
/**
* ToolTip名称
* @param {String} strName toolTip名称
* @property {String} ToolTipName "显示数据"
*/
SetToolTipName:function (strName) {
},
/**
* 饼图大小
* @param {Array} strRadius 大小
* @property {Array} PieRadius [20,110]
*/
SetRadius:function (strRadius) {
},
/**
* 饼图位置
* @param {Array} strPos 位置
* @property {Array} PiePos ["50%","50%"]
*/
SetPiePos:function (strPos) {
},
/**
* 增加饼图数据
* @param {String} strName 名称
* @param {Number} nValue 数值
* @param {String} strColor 颜色
*/
AddData:function (strName,nValue,strColor) {
},
/**
* 修改饼图的数据
* @param {String} strOldName 旧的名称
* @param {String} strNewName 新的名称
* @param {Number} nValue 数据值
* @param {String} strColor 颜色
* @property {Collection} PieData ["示例1","示例1",335,"0xffff0000"]
*/
ChangeDataByName:function (strOldName,strNewName,nValue,strColor) {
},
/**
* 删减饼图数据
* @param {String} strName 名称
*/
RemoveDataByName:function (strName) {
},
/**
* 删除所有数据
*/
RemoveAllData:function () {
},
/**
* 获得一个数据
* @param {String} strName 名称
*/
GetData:function (strName) {
},
/**
* 获得所有数据
*/
GetAllData:function () {
},
/**
* 饼图的展示形式
* @param {String} strType 展示形式
* @property {Combo} ShowType ["radius","area","false"]
*/
SetShowType:function (strType) {
},
}