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

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

        self.sharedInit()
    }
    
    func initRecognizers(_ settings: ChartSettings) {
        if settings.zoomPan.zoomEnabled {
            let pinchRecognizer = UIPinchGestureRecognizer(target: self, action: #selector(ChartView.onPinch(_:)))
            pinchRecognizer.delegate = self
            addGestureRecognizer(pinchRecognizer)
            self.pinchRecognizer = pinchRecognizer
        }
    
        if settings.zoomPan.panEnabled {
            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
