{"action":"created","issue":{"url":"https://api.github.com/repos/novus/nvd3/issues/807","labels_url":"https://api.github.com/repos/novus/nvd3/issues/807/labels{/name}","comments_url":"https://api.github.com/repos/novus/nvd3/issues/807/comments","events_url":"https://api.github.com/repos/novus/nvd3/issues/807/events","html_url":"https://github.com/novus/nvd3/issues/807","id":58150904,"number":807,"title":"Stacked bar charts, multiBarChart seems correct while multiBarHorizontalChart bars layout on top of each tother","user":{"login":"jquince","id":4357131,"avatar_url":"https://avatars.githubusercontent.com/u/4357131?v=3","gravatar_id":"","url":"https://api.github.com/users/jquince","html_url":"https://github.com/jquince","followers_url":"https://api.github.com/users/jquince/followers","following_url":"https://api.github.com/users/jquince/following{/other_user}","gists_url":"https://api.github.com/users/jquince/gists{/gist_id}","starred_url":"https://api.github.com/users/jquince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquince/subscriptions","organizations_url":"https://api.github.com/users/jquince/orgs","repos_url":"https://api.github.com/users/jquince/repos","events_url":"https://api.github.com/users/jquince/events{/privacy}","received_events_url":"https://api.github.com/users/jquince/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T00:21:47Z","updated_at":"2015-02-19T02:51:14Z","closed_at":null,"body":"If the values in a group are on opposite sides of the axis as per the demo http://nvd3.org/examples/multiBarHorizontal.html then stacked renders fine.\r\nbut with both positive, and I assume negative, the bars overlap instead of stacking.\r\n\r\nHere is a jsbin\r\nhttp://jsbin.com/yodaqekipu/3/edit?js,output"},"comment":{"url":"https://api.github.com/repos/novus/nvd3/issues/comments/74991202","html_url":"https://github.com/novus/nvd3/issues/807#issuecomment-74991202","issue_url":"https://api.github.com/repos/novus/nvd3/issues/807","id":74991202,"user":{"login":"liquidpele","id":1065913,"avatar_url":"https://avatars.githubusercontent.com/u/1065913?v=3","gravatar_id":"","url":"https://api.github.com/users/liquidpele","html_url":"https://github.com/liquidpele","followers_url":"https://api.github.com/users/liquidpele/followers","following_url":"https://api.github.com/users/liquidpele/following{/other_user}","gists_url":"https://api.github.com/users/liquidpele/gists{/gist_id}","starred_url":"https://api.github.com/users/liquidpele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liquidpele/subscriptions","organizations_url":"https://api.github.com/users/liquidpele/orgs","repos_url":"https://api.github.com/users/liquidpele/repos","events_url":"https://api.github.com/users/liquidpele/events{/privacy}","received_events_url":"https://api.github.com/users/liquidpele/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T02:51:14Z","updated_at":"2015-02-19T02:51:14Z","body":"Your jsbin seems really messed up.... I tried to reproduce with the multibarhorizontal.html file by just making all the values positive like so:\r\n\r\n    for (var k in long_short_data) {\r\n        for (var j in long_short_data[k]['values']) {\r\n            long_short_data[k]['values'][j]['value'] = Math.abs(long_short_data[k]['values'][j]['value']);\r\n        }\r\n    }\r\n\r\nHowever, everything seems to work fine in this case... "}}