I'm trying this code in JS to rotate cols labels:
heatMap.renderlet(function (chart) {
chart.selectAll("g.cols text")
.attr("transform", "translate(-10,10)")
.attr("transform", "rotate(315)")
.style("text-anchor", "end");});
But the only result is that all labels translate and rotate together: Heatmap image
What am I doing wrong?
Thank's in advance