borderColorOnFocus: String

Sets the border color of Inputfields on focus. Values of borderColorOnFocus can be specified in “HTML Color Name”, “hex code” or “rgba values”.

Default: “#008EFF”
Examples: “black”, “#EAEAEA”, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   inputFields: {
     style: {
       borderColorOnFocus: "#dddddd",
       .
       .
     }
   }
 },
 .
 .
});
stockChart.render();

Try Editing The Code


If you have any questions, please feel free to ask in our forums.Ask Question