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

XUILineGradient.prototype = {

    //组件
    /**
    "title1":{
            "title":"标题1",
            "name":"title1",
            "type":"PUITitleInterface",
            "index":0
        }*/

    /**
    "title2":{
            "title":"标题2",
            "name":"title2",
            "type":"PUITitleInterface",
            "index":1
        }*/

    /**
    "tooltip":{
          "title":"提示框",
          "name":"tooltip",
          "type":"PUITooltipInterface",
          "index":0
        }*/

    /**
    "xAxis1":{
          "title":"x轴1",
          "name":"xAxis1",
          "type":"PUIXAxisInterface",
          "index":0
        }*/

    /**
    "xAxis2":{
          "title":"x轴2",
          "name":"xAxis2",
          "type":"PUIXAxisInterface",
          "index":1
        }*/

    /**
    "yAxis1":{
          "title":"y轴1",
          "name":"yAxis1",
          "type":"PUIYAxisInterface",
          "index":0
        }*/

    /**
    "yAxis2":{
          "title":"y轴2",
          "name":"yAxis2",
          "type":"PUIYAxisInterface",
          "index":1
        }*/

    /**
    "line1":{
          "title":"折线1",
          "name":"line1",
          "type":"PUILineInterface",
          "index":0
        }*/

    /**
    "line2":{
          "title":"折线2",
          "name":"line2",
          "type":"PUILineInterface",
          "index":1
        }*/


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

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

    /**
    * 增加数据
    * @param {String} newDate 日期
    * @param {Number} newData 数据
    */
    AddData:function (newDate,newData) {
    },

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

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

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

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

}