I am implementing google charts and I want to give style to x-axis data. I found there the following code to do this.
hAxis:{
title: 'Month',
textStyle :{
fontSize : 10
}
}
I want to underline the text data and change cursor style to the pointer. I searched on the google chart website but didn't get.
you can modify the
text
elements directly,when the
'ready'
event fires on thechart
you can select which axis labels to modify by using the
'text-anchor'
attributex-axis labels have a value of
'middle'
, y-axis'end'
see following working snippet...