labelFontFamily: String

Sets the font family of label (text) shown in Range Buttons.


Default: “Calibri, Optima, Candara, Verdana, Geneva, Sans-serif”
Example: “calibri”, “tahoma”, “verdana”, …

var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   buttonStyle: {
     labelFontFamily: "tahoma",
     .
     .
   }
 },
 .
 . 
});
stockChart.render();



Try it Yourself by Editing the Code below.




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