Labels to be rotated in the level 1 of each step of drill down.
Labels are not rotated
https://jsfiddle.net/4ez5ca7y/
The last level has a rotationMode
set but, as we can see, the labels are not rotated.
Disclaimer
I do know that I can use dataLabels.rotationMode
to somehow achieve this but I don't think it is the same effect. Explaining:
If I set the color
attribute to a level (as I did on this fiddle setting the level 1 to tomato
) when I drill down the chart, the level 1 of each "drilled state" is set to tomato
. So what I expect to achieve setting the rotationMode
on the level, instead of the dataLabels
, is that everytime I drill down, the level 1 would have the labels rotated (don't know if this makes sense, tough).
Besides that, the rotation options for the Level
doesn't seem to be changing anything... :s
Latest
Chrome
Hi @Menighin
Thank you for reporting, but this doesn't look like a bug.
levelIsConstant is set to true
by default, so after drill to node you will go to the clicked level. If you set that option to false
then always (after each drill down or up) center will be level 1. Demo: https://jsfiddle.net/BlackLabel/4ez5ca7y/1/
Ahhhhhhnnn.... Thanks for the answer @KacperMadej. That is indeed the case.
Sorry for the trouble!
A small comment to the issue, series.levels.rotationMode
does not exist, it should be series.levels.dataLabels.rotationMode
. The same goes for rotation
.
I see that this is documented incorrectly in the API which I will take care of and fix.
Most helpful comment
A small comment to the issue,
series.levels.rotationMode
does not exist, it should beseries.levels.dataLabels.rotationMode
. The same goes forrotation
.I see that this is documented incorrectly in the API which I will take care of and fix.