/**
* @constructor
*/
function XUILabelRoundPie() {
}
XUILabelRoundPie.prototype = {
//事件
/**
* 左击图例
* @eventname XUI_LABELROUNDPIE_LEFTCLICKLEGEND
* @eventid 0x00001008
* @param {String} strName 数据名称
*/
//组件
/**
"pie0":{
"title":"饼图0",
"name":"pie0",
"type":"PUIPieInterface",
"index":0
}*/
/**
"title":{
"title":"标题",
"name":"title",
"type":"PUITitleInterface",
"index":0
}*/
/**
"legend":{
"title":"图例",
"name":"legend",
"type":"PUILegendInterface",
"index":0
}*/
/**
"Tooltip":{
"title":"提示框组件",
"name":"tooltip",
"type":"PUITooltipInterface",
"index":0
}*/
//接口
/**
* 主标题内容
* @param {String} strTitleText 标题文本
* @property {String} TitleText "示例主标题"
*/
SetTitleText:function (strTitleText) {
},
/**
* 副标题内容
* @param {String} strText 副标题文本
* @property {String} TitleSubText "示例副标题"
*/
SetSubTitleText:function (strText) {
},
/**
* 主标题字体大小
* @param {Number} nSize 标题字体大小
* @property {Number} nSize 18
*/
SetTitleFontSize:function (nSize) {
},
/**
* 主标题颜色
* @param {String} strColor 标题文本颜色
* @property {Color} TitleTextColor "0xffffffff"
*/
SetTitleFontColor:function (strColor) {
},
/**
* 主标题字体样式
* @param {String} strFamily 标题字体样式
*/
SetTitleFontFamily:function (strFamily) {
},
/**
* 副标题字体大小
* @param {Number} nSize 副标题字体大小
* @property {Number} SubTitleTextSize 12
*/
SetSubTitleFontSize:function (nSize) {
},
/**
* 副标题颜色
* @param {String} strColor 副标题文本颜色
* @property {Color} TitleSubTextColor "0xffffffff"
*/
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} BackgroundColor "0xff071745"
*/
SetBackgroundColor:function (strColor) {
},
/**
* 图例水平位置
* @param {String} strHorAlign 图例组件水平左边距
* @property {Combo} LegendLeft ["left","right","center"]
*/
SetLegendHorAlign:function (strHorAlign) {
},
/**
* 图例垂直位置
* @param {String} strVerAlign 图例组件上边距
* @property {Combo} LegendTop ["top","middle","bottom"]
*/
SetLegendVerAlign:function (strVerAlign) {
},
/**
* 图例组件布局朝向
* @param {String} strLegendOrient 图例组件布局朝向
* @property {Combo} LegendOrient ["vertical","horizontal"]
*/
SetLegendOrient:function (strLegendOrient) {
},
/**
* 图例的文本颜色
* @param {String} strColor 图例的文本颜色
* @property {Color} LegendTextColor "0xffff"
*/
SetLegendFontColor:function (strColor) {
},
/**
* 饼图大小
* @param {String} strRadius 饼图大小
* @property {String} PieRadius "60%"
*/
SetRadius:function (strRadius) {
},
/**
* 饼图位置
* @param {Array} arrPos 饼图位置
* @property {Array} PieCenter ["50%","50%"]
*/
SetPiePos:function (arrPos) {
},
/**
* 修改饼图各参数值
* @param {String} strName 饼图该下标对应的名称
* @param {Number} nValue 饼图该下标对应的值
*/
SetDataByName:function (strName,nValue) {
},
/**
* 增加饼图模块
* @param {String} strName 新增饼图的名称
* @param {Number} nValue 新增饼图的值
*/
AddPieData:function (strName,nValue) {
},
/**
* 删减饼图模块
* @param {Number} nIndex 删减的饼图的下标
*/
RemoveDataByIndex:function (nIndex) {
},
/**
* 获取数据
* @param {Number} nIndex 饼图的下标
*/
GetDataByIndex:function (nIndex) {
},
/**
* 饼图模块的颜色
* @param {Number} nIndex 饼图对应的下标
* @param {String} strColor 饼图对应下标颜色
*/
SetDataColorByIndex:function (nIndex,strColor) {
},
/**
* Tip名称
* @param {String} strName 系列文本名
* @property {String} PieName "数据来源"
*/
SetTipName:function (strName) {
},
}