fontColor: String

Sets the font color for text shown in Inputfields. Values of fontColor can be specified in “HTML Color Name”, “hex code” or “rgba values”.


Default: “#000000”
Examples: “black”, “#D3D1DC”, …

var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   inputFields: {
     style: {
       fontColor: "#5f5f75",
       .
       .
     }
   }
 },
 .
 .
});
stockChart.render();



Try it Yourself by Editing the Code below.




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