In a chart created using LightningChartJS one can zoom in or zoom out of a particular section by dragging the mouse.Is it possible to disable the zoom functionality?
            Asked
            
        
        
            Active
            
        
            Viewed 344 times
        
    3
            
            
        - 
                    Hello and welcome to SO! Please provide some more details so other users can get it well. – Devang Padhiyar Nov 01 '19 at 12:50
 
1 Answers
3
            ChartXY has several methods for enabling/disabling individual mouse/touch interactions, all of which are named with the prefix: setMouseInteraction...
Zooming in can be disabled with
chart.setMouseInteractionRectangleZoom( false )
Fitting can be disabled with
chart.setMouseInteractionRectangleFit( false )
        Niilo Keinänen
        
- 2,187
 - 1
 - 7
 - 12