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
The trick is in the chartArea.height = 300 and chartArea.top = 100, height:600
var options = {
title: 'Motivation and Energy Level Throughout the Day',
isStacked: true,
height:600,
chartArea: {
height:300,
top:100,
},
hAxis: {
title: 'Departamentos',
titleTextStyle: {
color: '#FF0000',
},
slantedText:true,
slantedTextAngle:45,
},
vAxis: {
title: 'Kits'
}
};