borderThickness: Number

Sets the border thickness of Range Buttons in pixels.

To display border, set the borderThickness to a number greater than zero. Setting it to zero will remove the border.


Default: 1
Example: 2, 4, …

var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   buttonStyle: {
     borderThickness: 2,
     .
     .
   }
 },
 .
 . 
});
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