labelFontWeight: String

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


Default: “normal”
Options: “lighter”, “normal”, “bold”, “bolder”

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



Try it Yourself by Editing the Code below.




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