{"action":"created","issue":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/8617","repository_url":"https://api.github.com/repos/highcharts/highcharts","labels_url":"https://api.github.com/repos/highcharts/highcharts/issues/8617/labels{/name}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/8617/comments","events_url":"https://api.github.com/repos/highcharts/highcharts/issues/8617/events","html_url":"https://github.com/highcharts/highcharts/issues/8617","id":340931479,"node_id":"MDU6SXNzdWUzNDA5MzE0Nzk=","number":8617,"title":"xAxis labels are overwritten by chart when rangeSelector is dynamically disabled","user":{"login":"tinu232","id":20552552,"node_id":"MDQ6VXNlcjIwNTUyNTUy","avatar_url":"https://avatars1.githubusercontent.com/u/20552552?v=4","gravatar_id":"","url":"https://api.github.com/users/tinu232","html_url":"https://github.com/tinu232","followers_url":"https://api.github.com/users/tinu232/followers","following_url":"https://api.github.com/users/tinu232/following{/other_user}","gists_url":"https://api.github.com/users/tinu232/gists{/gist_id}","starred_url":"https://api.github.com/users/tinu232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinu232/subscriptions","organizations_url":"https://api.github.com/users/tinu232/orgs","repos_url":"https://api.github.com/users/tinu232/repos","events_url":"https://api.github.com/users/tinu232/events{/privacy}","received_events_url":"https://api.github.com/users/tinu232/received_events","type":"User","site_admin":false},"labels":[{"id":44748474,"node_id":"MDU6TGFiZWw0NDc0ODQ3NA==","url":"https://api.github.com/repos/highcharts/highcharts/labels/Undecided","name":"Undecided","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-13T08:39:43Z","updated_at":"2018-07-13T11:39:08Z","closed_at":null,"author_association":"NONE","body":"#### Expected behaviour\r\n\r\nWhen rangeSelector is disabled, xAxis labels should stay outside the chart.\r\n\r\n#### Actual behaviour\r\n\r\nChart is overwriting the xAxis labels.\r\n_This happens when yAxis top is set._\r\n\r\nNot so dramatically for chart display only (don't no any use case to dynamically enable/disable the rangeSelector), but for export, when rangeSelector is disabled in exporting options.\r\n\r\n#### Live demo with steps to reproduce\r\n\r\nhttps://jsfiddle.net/4ekcw3vg/\r\nPress \"Disable rangeSelector\"\r\n\r\n#### Product version\r\n\r\nCurrent master branch\r\n\r\n#### Affected browser(s)\r\n\r\nChrome Version 56.0.2924.87 (64-bit)"},"comment":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/comments/404808528","html_url":"https://github.com/highcharts/highcharts/issues/8617#issuecomment-404808528","issue_url":"https://api.github.com/repos/highcharts/highcharts/issues/8617","id":404808528,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDgwODUyOA==","user":{"login":"tinu232","id":20552552,"node_id":"MDQ6VXNlcjIwNTUyNTUy","avatar_url":"https://avatars1.githubusercontent.com/u/20552552?v=4","gravatar_id":"","url":"https://api.github.com/users/tinu232","html_url":"https://github.com/tinu232","followers_url":"https://api.github.com/users/tinu232/followers","following_url":"https://api.github.com/users/tinu232/following{/other_user}","gists_url":"https://api.github.com/users/tinu232/gists{/gist_id}","starred_url":"https://api.github.com/users/tinu232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinu232/subscriptions","organizations_url":"https://api.github.com/users/tinu232/orgs","repos_url":"https://api.github.com/users/tinu232/repos","events_url":"https://api.github.com/users/tinu232/events{/privacy}","received_events_url":"https://api.github.com/users/tinu232/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T11:39:08Z","updated_at":"2018-07-13T11:39:08Z","author_association":"NONE","body":"Hi @KacperMadej \r\n\r\nThanks for your comments!\r\n\r\nWe are using `yAxis.top` to separate e.g 2 diagrams with 2 different units.\r\nSee https://jsfiddle.net/4ekcw3vg/26/\r\n\r\nStrange, in this combination there is no overwrite of the xAxis labels on disabling the rangeSelector, even when `xAxis.top` is not set...\r\n\r\n\r\n"}}
{"actor":{"display_login":"tinu232"}}