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