         let stockBasicInfo = HSStockBasicInfoModel.getStockBasicInfoModel(getJsonDataFromFile("SZ300033"))
         
         switch chartType {
-            
         case .timeLineForDay:
             timeLineView = HSTimeLine(frame: chartRect)
             let modelArray = getTimeLineModelArray(getJsonDataFromFile("timeLineForDay"), type: chartType, basicInfo: stockBasicInfo)

            stockChartView.isUserInteractionEnabled = true
            stockChartView.tag = chartType.rawValue
            stockChartView.isLandscapeMode = self.isLandscapeMode
            self.view.addSubview(stockChartView)
            
        case .kLineForDay:
            self.view.addSubview(UIView())
            let stockChartView = HSKLineView(frame: chartRect, kLineType: .kLineForDay)
            stockChartView.tag = chartType.rawValue
            stockChartView.isLandscapeMode = self.isLandscapeMode
            let jsonFile = "kLineForDay"
            let allDataK = getKLineModelArray(getJsonDataFromFile(jsonFile))
            let tmpDataK = Array(allDataK[allDataK.count-70..<allDataK.count])
            stockChartView.configureView(data: tmpDataK)
            
            self.view.addSubview(stockChartView)

        case .kLineForWeek:
            self.view.addSubview(UIView())
            let stockChartView = HSKLineView(frame: chartRect, kLineType: .kLineForWeek)
            stockChartView.tag = chartType.rawValue
            stockChartView.isLandscapeMode = self.isLandscapeMode
            let jsonFile = "kLineForWeek"
            let allDataK = getKLineModelArray(getJsonDataFromFile(jsonFile))
            let tmpDataK = Array(allDataK[allDataK.count-70..<allDataK.count])
            stockChartView.configureView(data: tmpDataK)
            
            self.view.addSubview(stockChartView)
            
        case .kLineForMonth:
            self.view.addSubview(UIView())
            let stockChartView = HSKLineView(frame: chartRect, kLineType: .kLineForMonth)
            stockChartView.tag = chartType.rawValue
            stockChartView.isLandscapeMode = self.isLandscapeMode
            let jsonFile = "kLineForMonth"
            let allDataK = getKLineModelArray(getJsonDataFromFile(jsonFile))
            let tmpDataK = Array(allDataK[allDataK.count-70..<allDataK.count])
            stockChartView.configureView(data: tmpDataK)
            
            self.view.addSubview(stockChartView)
        }
    }
    

            timeLineView!.isUserInteractionEnabled = true
            timeLineView?.tag = chartType.rawValue
            timeLineView?.isLandscapeMode = self.isLandscapeMode
            view.addSubview(timeLineView!)
        case .timeLineForFiveday:
            let stockChartView = HSTimeLine(frame: chartRect, isFiveDay: true)
            let modelArray = getTimeLineModelArray(getJsonDataFromFile("timeLineForFiveday"), type: chartType, basicInfo: stockBasicInfo)
