In my NVD3 chart here, I rotated and translated the X-axis ticks
. As a result, the X-axis label My X-axis
got affected too.
JS:
var xTicks = d3.select('.nv-x.nv-axis > g').selectAll('g');
xTicks
.selectAll('text')
.attr('transform', function(d,i,j) {
return 'translate (-10, 40) rotate(-90 0,0)';
)}
How do I modify this code to skip formatting the X-axis label?