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

XUIDualLine.prototype = {

    //组件
    /**
    "line0":{
            "title":"折线0",
            "name":"line0",
            "type":"PUILineInterface",
            "index":0
        }*/

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

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

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

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

    /**
    "xAxis3":{
            "title":"x轴3",
            "name":"xAxis3",
            "type":"PUIXAxisInterface",
            "index":3
        }*/

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

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

    /**
    "grid":{
            "title":"控件距容器距离",
            "name":"grid",
            "type":"PUIGridInterface",
            "index":0
        }*/


    //接口
    /**
    * 清除数据
    */
    RemoveAll:function () {
    },

    /** 
    * 添加数据
    * @param {Array} arrLineData 折线数据
    * @param {Array} arrXName 对应x轴名称
    * @param {Number} nIndex x轴标线索引
    */
    AddArrData:function (arrLineData,arrXName,nIndex) {
    },

    /**
    * 添加一个数据
    * @param {String} strXLabel x轴文本
    * @param {Number} nValue 数据
    * @param {Number} nIndex 下标
    */
    AddOneData:function (strXLabel,nValue,nIndex) {
    },

    /**
    * 获取一个数据
    * @param {String} strXLabel x轴文本
    * @param {Number} nIndex 项下标
    * @return {Number} 一个数据
    */
    GetOneData:function (strXLabel,nIndex) {
    },

    /**
    * 修改一个数据
    * @param {Number} nIndex 项下标
    * @param {String} strXLabel x轴文本
    * @param {Number} nValue 新数据
    */
    EditOneDataByName:function (nIndex,strXLabel,nValue) {
    },

    /**
    * 改x轴数据名称
    * @param {Number} nIndex 项下标
    * @param {String} strXLabelNew x轴新文本
    */
    EditXDataName:function (nIndex,strXLabelNew) {
    },

    /**
    * x轴文本删数据
    * @param {Number} nIndex 折线索引项
    * @param {String} strXLabel x轴文本
    */
    DeleteDataByXLabel:function (nIndex,strXLabel) {
    },

    /**
    * 删一项数据
    * @param {Number} nIndex 折线索引项
    */
    DeleteItemData:function (nIndex) {
    },

    /**
    * 设置y轴标题
    * @param {Number} nIndex 索引
    * @param {String} strTitle 标题
    * @property {Collection} YTitle [0,"弹药交付数量(件)"]
    */
    SetYTitle:function (nIndex,strTitle) {
    },

    /**
    * y轴标题图标
    * @param {Number} nIndex 索引
    * @param {ImageProp} strIcon 标题图例
    * @property {Collection} YTitleIcon [0,"bgwz/XUIDualLine/images/icon_rwwcs3.png"]
    */
    SetYTitleIcon:function (nIndex,strIcon) {
    },

    /**
    * 设置最大值
    * @param {Number} nIndex 索引
    * @param {Number} nMax 最大值
    * @property {Collection} nMaxData [0,1100]
    */
    SetMaxData:function (nIndex,nMax) {
    },

    /**
    * 折线填充渐变色
    * @param {Number} nIndex 项索引
    * @param {String} strColorStart 填充色起点
    * @param {String} strColorEnd 填充色终点
    * @property {Collection} LineAreaColor [0,"0xffff0000","0xffff0000"]
    */
    SetLineAreaColor:function (nIndex,strColorStart,strColorEnd) {
    },

}