Home Forums StockChart Support Disable Panning on StockChart Reply To: Disable Panning on StockChart




You can disable panning in individual charts of StockChart by setting panEnabled property to false, soon after rendering StockChart & within the rangeChanged event-handler. This is not an official API & hence might get changed in future. Please find the code-snippet below.

stockChart.charts[0].panEnabled = false;

Please take a look at this JSFiddle for a working example.

Vishwas R
Team CanvasJS