verticalAlign: String

This property allows you to position Navigator vertically within the StockChart.

Default: “bottom”
Options: “top”, “bottom”
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 navigator: {
   .
   .
   verticalAlign: "top", // "bottom" 
   .
   .
 },
 .
 . 
});
stockChart.render();


Try Editing The Code


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