spacing: Number

Sets the spacing between Range Buttons in pixels.

Default: 0
Examples: 1, 3, 4, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   buttonStyle: {
     spacing: 5,
     .
     .
   }
 },
 .
 .
});
stockChart.render();

Try Editing The Code

  Also See:    


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