verticalAlign: String

Lets you vertically align the Range Selector within StockChart.


Default: “top”
Options: “top”, “bottom”

var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   .
   .
   verticalAlign: "bottom", // "top"
   .
   .
 },
 .
 .
});
stockChart.render();



Try it Yourself by Editing the Code below.




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