I am working on using the google chart api to create a scatter chart, but it seems that the position of title can only be changed to 'in' or 'out', and align to the left side. How can I change it to be centered outside of the chart? Also, how to cancel the style italic for the axis label? Thanks for your help!!
-
It's not perfect, but for the italic axis label try setting as follows: titleTextStyle: { fontSize: 14, bold:true }– proggrockNov 1, 2012 at 14:53
-
For column chart, you can refer here.. developers.google.com/chart/interactive/docs/gallery/…– Jasim MuhammedMay 10, 2014 at 10:26
Add a comment
|
1 Answer
For canceling the italic style on the axis titles, do something like this:
vAxis: {title: "Hours", titleTextStyle: {italic: false}},
hAxis: {title: "Month", titleTextStyle: {italic: false}},
It is an undocumented feature, but it works most of the time.