Sets the background color of Range Buttons. Values of backgroundColor can be specified in “HTML Color Name”, “hex code” or “rgba values”
Default: “white”var stockChart = new CanvasJS.StockChart("container",
{
.
.
rangeSelector: {
buttonStyle: {
backgroundColor: "#eccaa0",
.
.
},
},
.
.
});
stockChart.render();