#1623 - charts: readable (vertical) labels on horizontal axis

This commit is contained in:
vagrant 2014-06-15 08:50:03 +00:00
parent c5d9fe4e1d
commit 0d73330ab6

View file

@ -163,6 +163,8 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
backgroundColor: {
fill: 'transparent'
},
hAxis: {slantedText:true, slantedTextAngle: 90},
height:270,
width:300
};
chart = new google.visualization.LineChart($("." + id + "-chart")[0]);