fontFamily: String

Sets the font family for text shown in Inputfields.

Default: “Calibri, Optima, Candara, Verdana, Geneva, sans-serif”
Examples: “Arial”, “Trebuchet MS”, “Tahoma”, “sans-serif”, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   inputFields: {
     style: {
       fontFamily: "Arial",
       .
       .
     }
   }
 },
 .
 .
});
stockChart.render();

Try Editing The Code


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