Font Family Selection With Google Charts?

mazniak picture mazniak · Mar 16, 2010 · Viewed 27.7k times · Source

Is it possible to set font-family for any of the non-flash Google chart visualizations? Specifically for things like the text on the chart axis. Google charts is powerful, but ugly. And unfortunately I can’t move to something nicer, like gRaphael.

Answer

systempuntoout picture systempuntoout · Apr 4, 2010

Have a look to the textstyle properties, take for example the hAxis.textStyle:

hAxis.textStyle: { color: '#FF0000', 
                   fontName: 'Arial', 
                   fontSize: '10' }