/**
* @constructor
*/
function XUIImitate3DPie() {
}
XUIImitate3DPie.prototype = {
//接口
/**
* 数据
* @param {Array} arrData 数据
*/
SetData:function (arrData) {
},
/**
* 加入数据
* @param {Array} strName 数据名
* @param {Array} nData 数据
* @param {Array} strColor 数据颜色
*/
AddData:function (strName,nData,strColor) {
},
/**
* 内环大小
* @param {Number} nInnerSize 内环大小
* @property {Number} InnerRingSize 0.4
*/
SetInnerRingSize:function (nInnerSize) {
},
/**
* 环的高度
* @param {Number} nHeight 高度
* @property {Number} RingHeight 30
*/
SetRingHeight:function (nHeight) {
},
/**
* 环的大小
* @param {Number} nWidth 宽度
* @param {Number} nHeight 高度
* @property {Collection} RingSize [130,100]
*/
SetRingSize:function (nWidth,nHeight) {
},
/**
* 饼图的偏移
* @param {Number} nPosX x方向,负左正右
* @param {Number} nPosY y方向,负上正下
* @property {Collection} PiePosition [0,0]
*/
SetPiePosition:function (nPosX,nPosY) {
},
/**
* 某一项的颜色
* @param {String} strName 项名
* @param {String} strColor 颜色
*/
SetColorByName:function (strName,strColor) {
},
/**
* 删除某一项
* @param {String} strName 项名
*/
DeleteColorByName:function (strName) {
},
/**
* 清空
*/
ClearData:function () {
},
/**
* 文字颜色
* @param {String} strColor 颜色
* @property {Color} FontColor "0xff000000"
*/
SetFontColor:function (strColor) {
},
/**
* 文字大小
* @param {Number} nSize 大小
* @property {Number} FontSize 12
*/
SetFontSize:function (nSize) {
},
/**
* 背景颜色
* @param {String} strColor 颜色
* @property {Color} BgColor "0x00000000"
*/
SetBgColor:function (strColor) {
},
/**
* 背景图
* @param {ImageProp} strImg 图片
* @property {ImageProp} BgImg ""
*/
SetBgImg:function (strImg) {
},
/**
* 背景图绘制模式
* @param {String} strMode 图片
* @property {Combo} BgImgRepeat ["repeat","no-repeat","repeat-x","repeat-y"]
*/
SetBgImgRepeat:function (strMode) {
},
/**
* 是否绘制图标背景色
* @param {Boolean} bDraw true背景色,false背景图
* @property {Boolean} DrawBgColor true
*/
SetDrawBgColor:function (bDraw) {
},
/**
* 获取数据
* @return {Array}
*/
GetData:function () {
},
/**
* 获取内环大小
* @return {Number}
*/
GetInnerRingSize:function () {
},
/**
* 获取环的高度
* @return {Number}
*/
GetRingHeight:function () {
},
/**
* 获取环的大小
* @return {Array}
*/
GetRingSize:function () {
},
/**
* 获取饼图的偏移
* @return {Array}
*/
GetPiePosition:function () {
},
/**
* 获取某一项的颜色
* @param {String} strName 项名
* @return {String}
*/
GetColorByName:function (strName) {
},
/**
* 获取文字颜色
* @return {String}
*/
GetFontColor:function () {
},
/**
* 获取文字大小
* @return {Number}
*/
GetFontSize:function () {
},
/**
* 获取是否绘制图标背景色
* @return {Boolean}
*/
IsDrawBgColor:function () {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 获取背景图
* @return {String}
*/
GetBgImg:function () {
},
/**
* 获取背景图绘制模式
* @return {String}
*/
GetBgImgRepeat:function () {
},
}