{"action":"created","issue":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/8337","repository_url":"https://api.github.com/repos/highcharts/highcharts","labels_url":"https://api.github.com/repos/highcharts/highcharts/issues/8337/labels{/name}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/8337/comments","events_url":"https://api.github.com/repos/highcharts/highcharts/issues/8337/events","html_url":"https://github.com/highcharts/highcharts/issues/8337","id":322912240,"number":8337,"title":"Can't get Sunburst rotation to work","user":{"login":"Menighin","id":2742763,"avatar_url":"https://avatars1.githubusercontent.com/u/2742763?v=4","gravatar_id":"","url":"https://api.github.com/users/Menighin","html_url":"https://github.com/Menighin","followers_url":"https://api.github.com/users/Menighin/followers","following_url":"https://api.github.com/users/Menighin/following{/other_user}","gists_url":"https://api.github.com/users/Menighin/gists{/gist_id}","starred_url":"https://api.github.com/users/Menighin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Menighin/subscriptions","organizations_url":"https://api.github.com/users/Menighin/orgs","repos_url":"https://api.github.com/users/Menighin/repos","events_url":"https://api.github.com/users/Menighin/events{/privacy}","received_events_url":"https://api.github.com/users/Menighin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-14T17:34:48Z","updated_at":"2018-05-15T09:53:40Z","closed_at":null,"author_association":"NONE","body":"#### Expected behaviour\r\nLabels to be rotated in the level 1 of each step of drill down.\r\n\r\n#### Actual behaviour\r\nLabels are not rotated\r\n\r\n#### Live demo with steps to reproduce\r\nhttps://jsfiddle.net/4ez5ca7y/\r\n\r\nThe last level has a [`rotationMode`](https://api.highcharts.com/highcharts/series.sunburst.levels.rotationMode) set but, as we can see, the labels are not rotated.\r\n\r\n**Disclaimer**\r\nI do know that I can use [`dataLabels.rotationMode`](https://api.highcharts.com/highcharts/plotOptions.sunburst.dataLabels.rotationMode) to somehow achieve this but I don't think it is the same effect. Explaining:\r\nIf 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).\r\nBesides that, the rotation options for the `Level` doesn't seem to be changing anything... :s\r\n\r\n#### Product version\r\nLatest\r\n\r\n#### Affected browser(s)\r\nChrome\r\n"},"comment":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/comments/389110931","html_url":"https://github.com/highcharts/highcharts/issues/8337#issuecomment-389110931","issue_url":"https://api.github.com/repos/highcharts/highcharts/issues/8337","id":389110931,"user":{"login":"KacperMadej","id":8960408,"avatar_url":"https://avatars0.githubusercontent.com/u/8960408?v=4","gravatar_id":"","url":"https://api.github.com/users/KacperMadej","html_url":"https://github.com/KacperMadej","followers_url":"https://api.github.com/users/KacperMadej/followers","following_url":"https://api.github.com/users/KacperMadej/following{/other_user}","gists_url":"https://api.github.com/users/KacperMadej/gists{/gist_id}","starred_url":"https://api.github.com/users/KacperMadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KacperMadej/subscriptions","organizations_url":"https://api.github.com/users/KacperMadej/orgs","repos_url":"https://api.github.com/users/KacperMadej/repos","events_url":"https://api.github.com/users/KacperMadej/events{/privacy}","received_events_url":"https://api.github.com/users/KacperMadej/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T09:53:40Z","updated_at":"2018-05-15T09:53:40Z","author_association":"CONTRIBUTOR","body":"Hi @Menighin \r\n\r\nThank you for reporting, but this doesn't look like a bug.\r\n\r\n[levelIsConstant](https://api.highcharts.com/highcharts/series.sunburst.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/"}}
{"actor":{"display_login":"KacperMadej"}}