Using enabled property, you can Enable or Disable the Inputfields in StockChart.
var stockChart = new CanvasJS.StockChart("container", { . . rangeSelector: { inputFields: { enabled: false, . . } }, . . }); stockChart.render();
Also See: