Sets the maximum width of each Range Button, beyond which label inside the button will be clipped.
Default: Automatically calculated based on width of Range Selector.var stockChart = new CanvasJS.StockChart("container",
{
.
.
rangeSelector: {
buttonStyle: {
maxWidth: 10,
.
.
}
},
.
.
});
stockChart.render();
Also See: