Sets space around the text of Range Buttons.
var stockChart = new CanvasJS.StockChart("container", { . . rangeSelector: { buttonStyle: { padding: 10, . . } }, . . }); stockChart.render();
Also See: