Anyone know how to get x-axis labels to be vertical with google charts API?
I need to fit a lot of labels in a small chart.
Thanks
Add parameter options with slantedtextangle:90 degree to show label vertically
var options ={ hAxis: {title: "Years" , direction:-1, slantedText:true, slantedTextAngle:90 }}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With