fontStyle: String

Sets the font style for text shown in Inputfields.

Default: “normal”
Options: “normal”, “italic” , “oblique”
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   inputFields: {
     style: {
       fontStyle: "italic",
       .
       .
     }
   }
 },
 .
 .
});
stockChart.render();

Try Editing The Code


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