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 it Yourself by Editing the Code below.




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