Sets the maximum width of individual Inputfields in pixels. The text beyond maxWidth will be clipped.
Default: Automatically Calculated Based on the Range Selector’s widthvar stockChart = new CanvasJS.StockChart("container",
{
.
.
rangeSelector: {
inputFields: {
style: {
maxWidth: 150,
.
.
}
}
},
.
.
});
stockChart.render();
Also See: