Sets the color of label (text) shown in Range Buttons. The value of labelFontColor can be a “HTML Color Name”, “hex code” or “rgba values”
Default: “grey”var stockChart = new CanvasJS.StockChart("container",
{
.
.
rangeSelector: {
buttonStyle: {
labelFontColor: "#FAC003",
.
.
}
},
.
.
});
stockChart.render();