{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/plotly/issues/322","labels_url":"https://api.github.com/repos/ropensci/plotly/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/322/comments","events_url":"https://api.github.com/repos/ropensci/plotly/issues/322/events","html_url":"https://github.com/ropensci/plotly/issues/322","id":119901318,"number":322,"title":"scatterplot hover text in unexpected position","user":{"login":"pstoyanov","id":6432387,"avatar_url":"https://avatars.githubusercontent.com/u/6432387?v=3","gravatar_id":"","url":"https://api.github.com/users/pstoyanov","html_url":"https://github.com/pstoyanov","followers_url":"https://api.github.com/users/pstoyanov/followers","following_url":"https://api.github.com/users/pstoyanov/following{/other_user}","gists_url":"https://api.github.com/users/pstoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/pstoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pstoyanov/subscriptions","organizations_url":"https://api.github.com/users/pstoyanov/orgs","repos_url":"https://api.github.com/users/pstoyanov/repos","events_url":"https://api.github.com/users/pstoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/pstoyanov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-02T09:30:29Z","updated_at":"2015-12-02T10:08:20Z","closed_at":"2015-12-02T10:08:20Z","body":"[unexpected behavior]\r\nIn case there are several points with the same x coordinate, the hover text is placed at and refers to another point (sometimes the lowest, sometimes the highest, or the middle one). This also appears to happen even when the respective point is outside the currently shown region of the figure (i.e. the user has zoomed in).\r\n\r\nFor me, expected behavior is the hover text to be placed at the point under the mouse cursor.\r\n\r\nTo reproduce -- easily done in the example on the github front page (or any of the other interactive examples on the plot.ly site), zoom in until there's only one point shown, and hover over it.\r\n\r\nThanks for all your work!"},"comment":{"url":"https://api.github.com/repos/ropensci/plotly/issues/comments/161246257","html_url":"https://github.com/ropensci/plotly/issues/322#issuecomment-161246257","issue_url":"https://api.github.com/repos/ropensci/plotly/issues/322","id":161246257,"user":{"login":"cpsievert","id":1365941,"avatar_url":"https://avatars.githubusercontent.com/u/1365941?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsievert","html_url":"https://github.com/cpsievert","followers_url":"https://api.github.com/users/cpsievert/followers","following_url":"https://api.github.com/users/cpsievert/following{/other_user}","gists_url":"https://api.github.com/users/cpsievert/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsievert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsievert/subscriptions","organizations_url":"https://api.github.com/users/cpsievert/orgs","repos_url":"https://api.github.com/users/cpsievert/repos","events_url":"https://api.github.com/users/cpsievert/events{/privacy}","received_events_url":"https://api.github.com/users/cpsievert/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T10:08:20Z","updated_at":"2015-12-02T10:08:20Z","body":"This is the default is plotlyjs and I think it's generally a good idea to keep consistency with defaults."}}