      */
     func sharedInit() {
         self.backgroundColor = UIColor.clear
-        initRecognizers()
     }
 
     fileprivate var zoomCenter: CGPoint?

        self.sharedInit()
    }
    
    func initRecognizers() {
        let pinchRecognizer = UIPinchGestureRecognizer(target: self, action: #selector(ChartView.onPinch(_:)))
        pinchRecognizer.delegate = self
        addGestureRecognizer(pinchRecognizer)
        self.pinchRecognizer = pinchRecognizer
    
        
        let panRecognizer = UIPanGestureRecognizer(target: self, action: #selector(ChartView.onPan(_:)))
        panRecognizer.delegate = self
        addGestureRecognizer(panRecognizer)
        self.panRecognizer = panRecognizer
        
        let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(ChartView.onTap(_:)))
        tapRecognizer.delegate = self

        
        self.view.setNeedsDisplay()
        
        view.initRecognizers(settings)
        configZoomPan(settings.zoomPan)
    }
    
