buttonBorderThickness: Number

Sets the border thickness of buttons (zoom/pan, reset & export-menu) in chart toolbar.

Default: 1
Example: 0, 2, …

  • Border will not be added if there is only one button in the toolbar.

var chart= new CanvasJS.Chart("container",
 toolbar: {
     buttonBorderThickness: 2,

Try it Yourself by Editing the Code below.

In order to provide better support, we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.