Sets the label (text) shown inside Range Button.
Default: Automatically assigned based on the range.var stockChart = new CanvasJS.StockChart("container",
{
.
.
rangeSelector: {
.
.
buttons: [
{
.
label: "1M",
.
}
]
},
.
.
});
stockChart.render();
Also See: