Sets the background color of Range Buttons on hover. Values of backgroundColorOnHover can be specified in “HTML Color Name”, “hex code” or “rgba values”
Default: “#41a5f5” (varies based on themes)var stockChart = new CanvasJS.StockChart("container",
{
.
.
rangeSelector: {
buttonStyle: {
backgroundColorOnHover: "#2196f3",
.
.
},
},
.
.
});
stockChart.render();