/**
* @constructor
*/
function XUIRoseDiagram() {
}

XUIRoseDiagram.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
        }*/

    /**
    "pie1":{
          "title":"饼图1",
          "name":"pie1",
          "type":"PUIPieInterface",
          "index":0
        }*/

    /**
    "pie2":{
          "title":"饼图2",
          "name":"pie2",
          "type":"PUIPieInterface",
          "index":1
        }*/


    //接口
    /**
    * 增加一个数据
    * @param {String} dataName 数据名称
    * @param {Number} newData 新数据值
    * @param {String} newColor 数据颜色
    */
    AddData:function (dataName,newData,newColor) {
    },

    /**
    * 获得一个数据
    * @param {Number} nIndex 数据下标
    */
    GetOneData:function (nIndex) {
    },

    /**
    * 获得所有数据
    */
    GetAllData:function () {
    },

    /**
    *  修改所有数据
    * @param {Array} newData 新收入数据
    */
    ChangeAllData:function (newData) {
    },

    /**
    *  修改一个数据
    * @param {Number} nIndex 下标
    * @param {Number} newData 新收入数据
    */
    ChangeOneData:function (nIndex,newData) {
    },

    /**
    * 删除所有数据
    */
    ClearAllData:function () {
    },

    /**
    * 删除一个饼图
    * @param {Number} nIndex 下标
    */
    ClearGroupData:function (nIndex) {
    },

    /**
    * 删除一个的数据
    * @param {Number} nIndex 下标
    */
    ClearOneData:function (nIndex) {
    },

}