You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Product version
Latest
Affected browser(s)
Chrome
The text was updated successfully, but these errors were encountered:
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/
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.
Expected behaviour
Labels to be rotated in the level 1 of each step of drill down.
Actual behaviour
Labels are not rotated
Live demo with steps to reproduce
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 totomato
) when I drill down the chart, the level 1 of each "drilled state" is set totomato
. So what I expect to achieve setting therotationMode
on the level, instead of thedataLabels
, 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... :sProduct version
Latest
Affected browser(s)
Chrome
The text was updated successfully, but these errors were encountered: