I have a multi chart in nvd3. I need to rotate the y axis labels for both yAxis1 and yAxis2. But i see there is no good option for rotating y axislabels. For rotating xAxis label it is pretty straight forward. Just uisng rotateLabels: 45
works for xAxis. But for y axis this solution doesn't work.I tried to use the rotateLabels
inside yAxis:{}
as following:
rotateLabels: 45
It works for x axis. But it doesn't work for y axis. I also tried using css commands like
css:{'transform':'rotate(45)'}
But nothing works at all. I cant think of any other solution.
Any one have any idea for me how can i rote the y axis labels in nvd3 chart? Thanks in advance