dynamicUpdate: Boolean

Setting this to true (default) will update the StockChart dynamically while updating range using Slider. When set to false, StockChart will not update till you leave the mouse from Slider. .


Default: true
Options: true, false

Note:
  • We suggest not to set the height/width property of the navigator until it is necessary. If you don’t set the height of navigator, CanvasJS automatically sets the height of navigator proportionate to StockChart height and renders navigator accordingly. This also allows navigator to work well with responsive website where StockChart size might change depending on device upon which it is used.


var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 navigator: {
   .
   .
   dynamicUpdate: false,
   .
   .
 }
 .
 . 
});
stockChart.render();



Try it Yourself by Editing the Code below.


  Also See:    



If you have any questions, please feel free to ask in our forums.