score:32

Accepted answer

there was a recent update to nvd3 that makes rotating the x-axis tick labels really easy. there is now a function of the axis model called rotatelabels(degrees) that takes an integer and will rotate your xtick labels the specified number of degrees. to rotate all xtick labels 45 degrees back, you could use it like this:

var chart = nv.models.linechart();
chart.xaxis.rotatelabels(-45);

Related Query

More Query from same tag