Do you have a screenshot or jsfiddle I can look at? By default, the fontName used is Arial, so setting it manually is unlikely to result in a change.
Try changing it to something else, like Courier New or Sans Serif: http://jsfiddle.net/aSRUx/106/ Or even try out the Google Web Fonts (e.g. Fruktur): http://jsfiddle.net/aSRUx/107/ The hAxis font is italicized. We don't currently support a font-style override. -Tom On Thu, Jun 6, 2013 at 6:28 PM, crabjoe <[email protected]> wrote: > So, I'm trying to use Google Charts and specifically Column Chat. > > The nice thing is, I've got it working. The bad thing is, it's kicking > back some weird font on the hAxis; it seems to be a script font or > something that's in italics. As you can see below, I tried adding fontName > of Arial, and it doesn't seem to do a thing. Can someone what I'm doing > wrong? > > hAxis: {title: 'YEARS', titleTextStyle: {color: 'red', fontName: 'Arial'}} > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
