Sets the font Size of Legend Text in pixels.
var chart = new CanvasJS.Chart("container", { . . legend:{ fontSize: 30, }, . . }); chart.render();
Also See:
Comments 2
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix
Hi there,
I have one issue with font scaling. Actually if height of diagram goes for example 500px, font goes too big. I defined in configuration font-size 16 but it doesn’t help. Here you have example http://prntscr.com/bebcxw
Can you kindly create a jsfiddle, so that we can check and help you out.