Chart-image font style

Hello, as part of my internship I have the assignment to create a line graph from a CSV and put it on a PDF. I manage to create the graph and put it on the PDF, but the font on the graph looks like this. "


Is there someone that knows how to fix this?

Is this using Dashboard 1, Dashboard 2 or something else?

i don't use the dashboard nodes i use the "chart-image" node.
image

As it is a contributed node, I think you will need to take it up with the author via GitHub.

I see that it uses Chart.JS - not sure if there are font configs for that?


Looking at Chart.JS, this appears to be the font definition:

font-family: -apple-system,BlinkMacSystemFont,Segoe UI,
   Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;

Always worth checking the existing issues of a node: Fonts missing · Issue #7 · gemini86/node-red-contrib-chart-image · GitHub

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.