Hi,
Firstly, I'd like to say thank you for working so hard to develop dc.js. I am a big fan and it really helps non-developers like myself produce work that we would have been next to impossible for us to do by hand.
I also have a question, please excuse my ignorance if its obvious but I am really struggling to find a way rotate the axis tick labels. I have some ordinal data for which the labels are a big long so I'd like to rotate the text.
In d3 something like:
.call(xAxis)
.selectAll("text")
.attr("transform", function(d) { return "rotate(-65)" });
would work.
And indeed if I do this:
dcchart.selectAll('text').attr('transform', function (d) { return 'rotate(-65)' });
after a chart has rendered then
all the text labels on both x and y axis get rotated.
But is there a way to select from just the xAxis text?
Reading the wiki I expected .xAxis() to allow me to do this but it doesn't appear to have a .selectAll() method.
Also, assuming there is a way to do this. What is the correct way to apply it? Again from reading the wiki it looks like a renderlet() function is the best bet? If so what would the syntax look like?
Sorry for this basic questions, and thanks in advance for any help.
regards,
Paul.