Sets the spacing between Range Buttons in pixels.
var stockChart = new CanvasJS.StockChart("container", { . . rangeSelector: { buttonStyle: { spacing: 5, . . } }, . . }); stockChart.render();
Also See: