{"action":"opened","issue":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/8038","repository_url":"https://api.github.com/repos/highcharts/highcharts","labels_url":"https://api.github.com/repos/highcharts/highcharts/issues/8038/labels{/name}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/8038/comments","events_url":"https://api.github.com/repos/highcharts/highcharts/issues/8038/events","html_url":"https://github.com/highcharts/highcharts/issues/8038","id":306486142,"number":8038,"title":"dynamic changes to navigator.adaptToUpdatedData do not work","user":{"login":"piotriwojcik","id":28751974,"avatar_url":"https://avatars1.githubusercontent.com/u/28751974?v=4","gravatar_id":"","url":"https://api.github.com/users/piotriwojcik","html_url":"https://github.com/piotriwojcik","followers_url":"https://api.github.com/users/piotriwojcik/followers","following_url":"https://api.github.com/users/piotriwojcik/following{/other_user}","gists_url":"https://api.github.com/users/piotriwojcik/gists{/gist_id}","starred_url":"https://api.github.com/users/piotriwojcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotriwojcik/subscriptions","organizations_url":"https://api.github.com/users/piotriwojcik/orgs","repos_url":"https://api.github.com/users/piotriwojcik/repos","events_url":"https://api.github.com/users/piotriwojcik/events{/privacy}","received_events_url":"https://api.github.com/users/piotriwojcik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-19T14:28:44Z","updated_at":"2018-03-19T14:28:44Z","closed_at":null,"author_association":"NONE","body":"#### Expected behaviour\r\n\r\nIt should be possible to change the `navigator.adaptToUpdatedData` property dynamically. That is, after creating a chart with\r\n```\r\n...\r\nnavigator: {\r\n    adaptToUpdatedData: true\r\n},\r\n...\r\n```\r\nchanging `adaptToUpdatedData` to `false` with either of these commands:\r\n```\r\nchart.navigator.update({adaptToUpdatedData: false});\r\nchart.update({navigator: {adaptToUpdatedData: false}});\r\nchart.navigator.adaptToUpdatedData = false;\r\nchart.navigator.navigatorOptions.adaptToUpdatedData = false;\r\n```\r\nshould prevent updating the navigator series when the chart data gets updated.\r\n\r\n#### Actual behaviour\r\nAfter creating a chart with `navigator.adaptToUpdatedData=true` and changing the property to `false` the navigator series still gets updated when `chart.series[0].setData(...)` is called.\r\n\r\n#### Live demo with steps to reproduce\r\n<!-- template: jsfiddle.net/highcharts/llexl/ -->\r\nhttp://jsfiddle.net/8q4eocjL/183/\r\n\r\nTo reproduce: change the selected range in the navigator - the navigator series gets updated (it shouldn't).\r\nThe demo contains a workaround (commented at the end) which makes the chart behave as expected.\r\n\r\n#### Product version\r\n<!--- Highcharts, Highstock or Highmaps plus version number -->\r\nHighstock, 6.0.7\r\n\r\n"}}
{"actor":{"display_login":"piotriwojcik"}}