/**
* @constructor
*/
function XUIAnnularPie() {
}
XUIAnnularPie.prototype = {
//组件
/**
"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} strBackgroundColor 背景颜色
* @property {Color} BackgroundColor "0xffffffff"
*/
SetBackgroundColor:function (strBackgroundColor) {
},
/**
* 图例水平布局
* @param {String} strLegendLeft 图例组件水平左边距
* @property {Combo} LegendLeft ["left","center","right"]
*/
SetLegendLeft:function (strLegendLeft) {
},
/**
* 图例垂直布局
* @param {String} strLegendTop 图例组件上边距
* @property {Combo} LegendTop ["top","middle","bottom"]
*/
SetLegendTop:function (strLegendTop) {
},
/**
* 图例布局朝向
* @param {String} strLegendOrient 图例组件布局朝向
* @property {Combo} LegendOrient ["vertical","horizontal"]
*/
SetLegendOrient:function (strLegendOrient) {
},
/**
* 图例文本颜色
* @param {String} strLegendTextColor 图例的文本颜色
* @property {Color} LegendTextColor "0xff333333"
*/
SetLegendTextColor:function (strLegendTextColor) {
},
/**
* 图例文本大小
* @param {Number} nFont 文本大小
* @property {Number} nLegendFont 12
*/
SetLegendLabelSize:function (nFont) {
},
/**
* 修改提示标题
* @param {String} strPieName 系列文本名
* @property {String} PieName "访问来源"
*/
SetPieName:function (strPieName) {
},
/**
* 修改饼图大小
* @param {Array} strPieRadius 饼图大小
* @property {Array} PieRadius ["50%","70%"]
*/
SetPieRadius:function (strPieRadius) {
},
/**
* 饼图位置
* @param {Array} strPieCenter 饼图位置
* @property {Array} PieCenter ["50%","50%"]
*/
SetPieCenter:function (strPieCenter) {
},
/**
* 修改饼图数值
* @param {Number} nIndex 饼图下标
* @param {Number} nPieDataValue 饼图对应值
* @param {String} strPieDataName 饼图对应名称
* @property {Collection} PieData [0,335,"示例1"]
*/
SetstrPieData:function (nIndex,nPieDataValue,strPieDataName) {
},
/**
* 增加饼图模块
* @param {Number} nDataValue 新增饼图的值
* @param {String} strDataName 新增饼图的名称
*/
SetPieDataPush:function (nDataValue,strDataName) {
},
/**
* 重置饼图数据
* @param {Array} arrData 数据数组
*/
AddDataForProp:function (arrData) {
},
/**
* 删减饼图模块
* @param {String} strSplicName 饼图系列名称
*/
SetPieDataSplice:function (strSplicName) {
},
/**
* 获取饼图数据
* @return {Array} 数据
*/
GetPieDataSplice:function () {
},
/**
* 饼图颜色
* @param {Number} nIndexColor 饼图下标
* @param {String} strDataColor 饼图颜色
* @property {Collection} PieDataColor [0,"0xffc23531"]
*/
SetPieDataColor:function (nIndexColor,strDataColor) {
},
/**
* 文本标签位置
* @param {String} strLabelPosition 饼图文本标签的位置
* @property {Combo} LabelPosition ["outside","inside","center"]
*/
SetLabelPosition:function (strLabelPosition) {
},
/**
* 文本标签大小
* @param {Number} nLabelTextStyleSize 饼图文本标签的大小
* @property {Number} LabelTextStyleSize 30
*/
SetLabelTextStyleSize:function (nLabelTextStyleSize) {
},
/**
* 文本标签粗细
* @param {String} strLabelTextStyleWeight 饼图文本标签的粗细
* @property {Combo} LabelTextStyleWeight ["bold","normal","bolder","lighter"]
*/
SetLabelTextStyleWeight:function (strLabelTextStyleWeight) {
},
/**
* 图例图标样式
* @param {String} strLegendIcon 图标样式
* @property {Combo} LegendIcon ["roundRect","rect","circle","triangle","diamond","pin","arrow","none"]
*/
SetLegendIcon:function (strLegendIcon) {
},
}