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

XUIStockIndexByOldData.prototype = {

    //组件
    /**
    "legend":{
            "title":"图例",
            "name":"legend",
            "type":"PUILegendInterface",
            "index":0
        }*/

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

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

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

    /**
    "candlestick":{
            "title":"k线",
            "name":"candlestick",
            "type":"PUICandlestickInterface",
            "index":0
        }*/

    /**
    "dataZoomSlider":{
            "title":"滑动缩放组件",
            "name":"dataZoomSlider",
            "type":"PUIDataZoomSliderInterface",
            "index":0
        }*/

    /**
    "dataZoomInside":{
            "title":"内置缩放组件",
            "name":"dataZoomInside",
            "type":"PUIDataZoomInsideInterface",
            "index":1
        }*/

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

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

    /**
    "line3":{
            "title":"折线3",
            "name":"line3",
            "type":"PUILineInterface",
            "index":3
        }*/

    /**
    "line4":{
            "title":"折线4",
            "name":"line4",
            "type":"PUILineInterface",
            "index":4
        }*/


    //接口
    /**
    * 清空
    */
    RemoveAll:function () {
    },

    /** 
    * 添加k线数据
    * @param {Array} arrData k线数据
    * @param {String} strName 系列名称
    */
    AddCandlestickData:function (arrData,strName) {
    },

    /** 
    * 添加折线数据
    * @param {Array} arrData 折线数据
    * @param {String} strName 系列名称
    */
    AddLineData:function (arrData,strName) {
    },

    /** 
    * 获取开盘数据
    * @param {String} strName 日期名称
    * @return {Float}}
    */
    GetOpenData:function (strName) {
    },

    /** 
    * 获取收盘数据
    * @param {String} strName 日期名称
    * @return {Float}}
    */
    GetCloseData:function (strName) {
    },

    /** 
    * 获取最低数据
    * @param {String} strName 日期名称
    * @return {Float}}
    */
    GetLowestData:function (strName) {
    },

    /** 
    * 获取最高数据
    * @param {String} strName 日期名称
    * @return {Float}}
    */
    GetHighestData:function (strName) {
    },

    /** 
    * 删除数据
    * @param {Number} nIndex 索引下标
    */
    DeleteData:function (nIndex) {
    },

}