fontSize: Number

Sets the font size for text shown in Inputfields.

Default: Automatically Calculated based on Stock Chart Size
Examples: 15, 16, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   inputFields: {
     style: {
       fontSize: 15,
       .
       .
     }
   }
 },
 .
 .
});
stockChart.render();

Try Editing The Code


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