Changing google chart API title and axis position and font style?

I am working on using a google goi chart to create a scatter chart, but it seems that the position of the title can only be changed to "in" or "out" and left aligned. How can I change it to be located outside the diagram? Also, how to undo a style in italics for an axis label? Thank you for your help!

+5
source share
1 answer

To undo italic style in axis headers do the following:

vAxis: {title: "Hours", titleTextStyle: {italic: false}},
hAxis: {title: "Month", titleTextStyle: {italic: false}},

This is an undocumented function, but it works most of the time.

+14
source

All Articles