{"action":"created","issue":{"url":"https://api.github.com/repos/PredixDev/px-vis-timeseries/issues/55","repository_url":"https://api.github.com/repos/PredixDev/px-vis-timeseries","labels_url":"https://api.github.com/repos/PredixDev/px-vis-timeseries/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/PredixDev/px-vis-timeseries/issues/55/comments","events_url":"https://api.github.com/repos/PredixDev/px-vis-timeseries/issues/55/events","html_url":"https://github.com/PredixDev/px-vis-timeseries/issues/55","id":234588115,"number":55,"title":"Chart Navigator Brush Reset Issue When Using Multiple Y-Axes","user":{"login":"kjrdel","id":28785823,"avatar_url":"https://avatars3.githubusercontent.com/u/28785823?v=4","gravatar_id":"","url":"https://api.github.com/users/kjrdel","html_url":"https://github.com/kjrdel","followers_url":"https://api.github.com/users/kjrdel/followers","following_url":"https://api.github.com/users/kjrdel/following{/other_user}","gists_url":"https://api.github.com/users/kjrdel/gists{/gist_id}","starred_url":"https://api.github.com/users/kjrdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjrdel/subscriptions","organizations_url":"https://api.github.com/users/kjrdel/orgs","repos_url":"https://api.github.com/users/kjrdel/repos","events_url":"https://api.github.com/users/kjrdel/events{/privacy}","received_events_url":"https://api.github.com/users/kjrdel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-08T16:42:25Z","updated_at":"2017-08-11T20:05:24Z","closed_at":null,"body":"\r\nWe are noticing some strange/inconsistent behavior in the px-vis-chart-navigator when using multiple y-axes in the main chart.\r\n\r\nWhen using a single y-axes, we can compress the brush in the chart navigator:\r\n\r\n![capture_1](https://user-images.githubusercontent.com/28785823/26939674-0d17f9a2-4c46-11e7-868d-a08034e3fae1.PNG)\r\n\r\nAnd then when the chartData is updated (by adding/removing series), the main plot redraws and the brush in the navigator resets itself to full length:\r\n\r\nthis.set('chartData', updatedData);\r\n![capture_2](https://user-images.githubusercontent.com/28785823/26939826-9466e3f0-4c46-11e7-8231-8f709e30ba74.PNG)\r\n\r\nHowever, when using multiple y-axes with the same data, we can compress the brush:\r\n\r\n![capture_3](https://user-images.githubusercontent.com/28785823/26939947-f071bb16-4c46-11e7-823c-476bd928321a.PNG)\r\n\r\nAnd then when the chartData is updated, the main plot redraws properly, but the brush in the navigator _does not_ reset itself to full length:\r\n\r\nthis.set('chartData', updatedData);\r\n![capture_4](https://user-images.githubusercontent.com/28785823/26940045-3f5f72e0-4c47-11e7-8509-38eaf6cb58b3.PNG)\r\n\r\nThe same behavior occurs when switching between a single y-axis and multiple y-axes (with the same data) by updating the axes in the seriesConfig:\r\n\r\nthis.set('seriesConfig', updatedConfig);\r\n\r\nIs this expected behavior?  It seems inconsistent."},"comment":{"url":"https://api.github.com/repos/PredixDev/px-vis-timeseries/issues/comments/321906607","html_url":"https://github.com/PredixDev/px-vis-timeseries/issues/55#issuecomment-321906607","issue_url":"https://api.github.com/repos/PredixDev/px-vis-timeseries/issues/55","id":321906607,"user":{"login":"kjrdel","id":28785823,"avatar_url":"https://avatars3.githubusercontent.com/u/28785823?v=4","gravatar_id":"","url":"https://api.github.com/users/kjrdel","html_url":"https://github.com/kjrdel","followers_url":"https://api.github.com/users/kjrdel/followers","following_url":"https://api.github.com/users/kjrdel/following{/other_user}","gists_url":"https://api.github.com/users/kjrdel/gists{/gist_id}","starred_url":"https://api.github.com/users/kjrdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjrdel/subscriptions","organizations_url":"https://api.github.com/users/kjrdel/orgs","repos_url":"https://api.github.com/users/kjrdel/repos","events_url":"https://api.github.com/users/kjrdel/events{/privacy}","received_events_url":"https://api.github.com/users/kjrdel/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T20:05:24Z","updated_at":"2017-08-11T20:05:24Z","body":"No longer seeing the navigator issue with latest version 2 (v 2.1.3).  However, there are some JavaScript errors when toggling between single/multiple axes:\r\n\r\n![capture](https://user-images.githubusercontent.com/28785823/29229887-94a7e39c-7eae-11e7-8301-f479ba3c2456.PNG)\r\n\r\nHave not been able to test with version 3 yet as some of the new redesign themes are not compatible with our app."}}
{"actor":{"display_login":"kjrdel"}}