Problem with font at Centos7
Hi, all!
Thank you for the very useful module:)
Pls, help with the following problem.
I use chartjs-node in my project. It perfectly works on my computer.
But it doesn't work correctly at a server.

I use node.js v8.12.0 at both sides. Mac OC at the computer. The Centos 7 at digitalocean. How can I fix this bug at Centos 7.
The font required is not installed on the CentOS server, but is on your computer You can use the command fc-list to list installed fonts in CentOS,
You can then install new ones e.g. yum install open-sans-fonts and select the font in the 'beforeDraw' function
chartNode.on('beforeDraw', function (Chartjs) { Chartjs.defaults.global.defaultFontFamily = 'Open Sans'; });
hi @LudmilaShilo , can you please tell me how you solved the problem if you did ?