Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Font Family Selection With Google Charts?

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.

like image 372
mazniak Avatar asked Mar 16 '10 14:03

mazniak


People also ask

How do I select font family in Google fonts?

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.

How do I integrate a chart in Google?

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.

What chart library does Google use?

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).

Is Google charts free for commercial use?

Google chart tools are powerful, simple to use, and free. Try out our rich gallery of interactive charts and data tools.


1 Answers

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

hAxis.textStyle: { color: '#FF0000', 
                   fontName: 'Arial', 
                   fontSize: '10' }
like image 93
systempuntoout Avatar answered Oct 01 '22 23:10

systempuntoout