Set Default Font

Hey there, does anyone know if there is a way to set a different default font for each chart or do we need to manually set each of the elements in the chart? e.g. for legend, scales, title, data labels etc.

Thanks
David

Hi @davidwatters,

Unfortunately not at this time, although it’s on the to-do list. You’ll have to separately set the font for legend, axes, chart title, etc.

The documentation covers a handful of elements with customizable fonts. Please let me know if you have any questions: Fonts | QuickChart

Thanks for confirming Ian, no probs.

Cheers
David

Might not be useful for your situation but I defined my font as a variable outside the quickchart code and then referenced that throughout the code so that I can quickly change the font everywhere :slight_smile:

Thanks for the idea Georgia, my main use is generating variable charts as images through the URL but for where we are embedding them that is a smart idea.