{"action":"created","issue":{"url":"https://api.github.com/repos/dc-js/dc.js/issues/1087","labels_url":"https://api.github.com/repos/dc-js/dc.js/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/dc-js/dc.js/issues/1087/comments","events_url":"https://api.github.com/repos/dc-js/dc.js/issues/1087/events","html_url":"https://github.com/dc-js/dc.js/issues/1087","id":125840741,"number":1087,"title":"tooltip on stacked bar chart","user":{"login":"alsguimaraes","id":16635649,"avatar_url":"https://avatars.githubusercontent.com/u/16635649?v=3","gravatar_id":"","url":"https://api.github.com/users/alsguimaraes","html_url":"https://github.com/alsguimaraes","followers_url":"https://api.github.com/users/alsguimaraes/followers","following_url":"https://api.github.com/users/alsguimaraes/following{/other_user}","gists_url":"https://api.github.com/users/alsguimaraes/gists{/gist_id}","starred_url":"https://api.github.com/users/alsguimaraes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsguimaraes/subscriptions","organizations_url":"https://api.github.com/users/alsguimaraes/orgs","repos_url":"https://api.github.com/users/alsguimaraes/repos","events_url":"https://api.github.com/users/alsguimaraes/events{/privacy}","received_events_url":"https://api.github.com/users/alsguimaraes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-10T19:46:42Z","updated_at":"2016-01-11T19:32:15Z","closed_at":null,"body":"Congratulations on such great software!\r\n\r\nThere seems to be a bug on the stacked bar chart tooltip. \r\nNote the basic example on the dc.js page. \r\n\r\nhttp://dc-js.github.io/dc.js/examples/stacked-bar.html\r\n\r\nThe selection of a bar on each stack always shows the value for the first group.  \r\nI could not find a workaround, as I do not know how to identify on the tooltip function which stack is being highlighted/selected. \r\nFor now, I forced the tooltip function to show all values. But this is still not ideal, as only one stack is selected.\r\n\r\n-Andre"},"comment":{"url":"https://api.github.com/repos/dc-js/dc.js/issues/comments/170664438","html_url":"https://github.com/dc-js/dc.js/issues/1087#issuecomment-170664438","issue_url":"https://api.github.com/repos/dc-js/dc.js/issues/1087","id":170664438,"user":{"login":"gordonwoodhull","id":1366709,"avatar_url":"https://avatars.githubusercontent.com/u/1366709?v=3","gravatar_id":"","url":"https://api.github.com/users/gordonwoodhull","html_url":"https://github.com/gordonwoodhull","followers_url":"https://api.github.com/users/gordonwoodhull/followers","following_url":"https://api.github.com/users/gordonwoodhull/following{/other_user}","gists_url":"https://api.github.com/users/gordonwoodhull/gists{/gist_id}","starred_url":"https://api.github.com/users/gordonwoodhull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordonwoodhull/subscriptions","organizations_url":"https://api.github.com/users/gordonwoodhull/orgs","repos_url":"https://api.github.com/users/gordonwoodhull/repos","events_url":"https://api.github.com/users/gordonwoodhull/events{/privacy}","received_events_url":"https://api.github.com/users/gordonwoodhull/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T19:32:14Z","updated_at":"2016-01-11T19:32:14Z","body":"I'm fixing the example by using `this.layer`, which is perhaps cheating but at least it works.\r\n\r\nIn a way this is an instance of the inconsistency in #703 - in a lot of cases it's more useful to have the \"outer datum\" rather than just the data from the group. I believe this is why some charts supply one and some supply the other. I consider this problem a vote for the outer datum."}}