borderColor: String

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

Default: “#2196f3”
Examples: “blue”, “#d3d1dc”, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   inputFields: {
     style: {
       borderColor: "#bbb8b8",
       .
       .
     }
   }
 },
 .
 .
});
stockChart.render();

Try Editing The Code


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