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.
Select the Text tool in the toolbar or open the Text panel. Click the font name in either the tool options bar or the Text panel. The font menu opens. Click More fonts… at the bottom of the font menu.
The most common way to use Google Charts is with simple JavaScript that you embed in your web page. You load some Google Chart libraries, list the data to be charted, select options to customize your chart, and finally create a chart object with an id that you choose.
Google Charts is a pure JavaScript based charting library meant to enhance web applications by adding interactive charting capability. It supports a wide range of charts. Charts are drawn using SVG in standard browsers like Chrome, Firefox, Safari, Internet Explorer(IE).
Google chart tools are powerful, simple to use, and free. Try out our rich gallery of interactive charts and data tools.
Have a look to the textstyle properties, take for example the hAxis.textStyle
:
hAxis.textStyle: { color: '#FF0000',
fontName: 'Arial',
fontSize: '10' }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With