fontWeight: String

Sets the font weight for text shown in Inputfields.

Default: “normal”
Options: “lighter”, “normal”, “bold” , “bolder”
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   inputFields: {
     style: {
       fontWeight: "bold",
       .
       .
     }
   }
 },
 .
 .
});
stockChart.render();

Try Editing The Code


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