{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/1797","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/1797/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/1797/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/1797/events","html_url":"https://github.com/plotly/plotly.js/issues/1797","id":236930990,"number":1797,"title":"click event can't resolve series for bar charts","user":{"login":"PPPW","id":11836586,"avatar_url":"https://avatars0.githubusercontent.com/u/11836586?v=3","gravatar_id":"","url":"https://api.github.com/users/PPPW","html_url":"https://github.com/PPPW","followers_url":"https://api.github.com/users/PPPW/followers","following_url":"https://api.github.com/users/PPPW/following{/other_user}","gists_url":"https://api.github.com/users/PPPW/gists{/gist_id}","starred_url":"https://api.github.com/users/PPPW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PPPW/subscriptions","organizations_url":"https://api.github.com/users/PPPW/orgs","repos_url":"https://api.github.com/users/PPPW/repos","events_url":"https://api.github.com/users/PPPW/events{/privacy}","received_events_url":"https://api.github.com/users/PPPW/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-19T15:32:03Z","updated_at":"2017-06-19T15:51:04Z","closed_at":"2017-06-19T15:51:04Z","body":"Dear Plotly.js,\r\nFor bar charts with multiple series, e.g., this one:\r\nhttps://codepen.io/plotly/pen/79bf01113db127f234e92e5c535dbc43?editors=1011\r\n\r\nI define the click event by using: \r\n`myPlot.on('plotly_click', function(data) { console.log(data); })`\r\n\r\nThen if I click on a bar, both series are returned in the \"points\" of the event data. For example, if I click on the blue bar of \"giraffes\", in the event data, both blue and orange bars are there. Is it possible to make the events sensitive to series? Same for the stacked bar charts. Thank you! \r\n\r\nBest,\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/309482538","html_url":"https://github.com/plotly/plotly.js/issues/1797#issuecomment-309482538","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/1797","id":309482538,"user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars3.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"created_at":"2017-06-19T15:51:04Z","updated_at":"2017-06-19T15:51:04Z","body":"duplicate of https://github.com/plotly/plotly.js/issues/965"}}
{"actor":{"display_login":"etpinard"}}