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 Editing The Code


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