animationDuration: Number

Sets the time duration for animation of Navigator in milliseconds.

Default: Inherits from parent StockChart’s animationDuration property.
Examples: 500, 1000, 1500, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 navigator: {
   animationEnabled: true,
   animationDuration: 1500
 },
 .
 .
});
stockChart.render();

Try Editing The Code


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