{"action":"created","issue":{"url":"https://api.github.com/repos/c3js/c3/issues/2121","repository_url":"https://api.github.com/repos/c3js/c3","labels_url":"https://api.github.com/repos/c3js/c3/issues/2121/labels{/name}","comments_url":"https://api.github.com/repos/c3js/c3/issues/2121/comments","events_url":"https://api.github.com/repos/c3js/c3/issues/2121/events","html_url":"https://github.com/c3js/c3/issues/2121","id":245619799,"number":2121,"title":"Incorrect drawing bar chart with data hide when init since v0.4.15","user":{"login":"tomog105","id":5163009,"avatar_url":"https://avatars3.githubusercontent.com/u/5163009?v=4","gravatar_id":"","url":"https://api.github.com/users/tomog105","html_url":"https://github.com/tomog105","followers_url":"https://api.github.com/users/tomog105/followers","following_url":"https://api.github.com/users/tomog105/following{/other_user}","gists_url":"https://api.github.com/users/tomog105/gists{/gist_id}","starred_url":"https://api.github.com/users/tomog105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomog105/subscriptions","organizations_url":"https://api.github.com/users/tomog105/orgs","repos_url":"https://api.github.com/users/tomog105/repos","events_url":"https://api.github.com/users/tomog105/events{/privacy}","received_events_url":"https://api.github.com/users/tomog105/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-26T06:34:42Z","updated_at":"2017-08-02T16:35:02Z","closed_at":null,"body":"## What version of C3?\r\n- v0.4.15\r\n  - This problem was not produced at v0.4.14\r\n\r\n## Reproduce code\r\n\r\nfiddle: http://jsfiddle.net/p7q596yu/\r\n\r\n```js\r\nvar chart = c3.generate({\r\n  data: {\r\n    type: 'bar',\r\n    columns: [\r\n      ['data1', 100, 200, 150, 300, 200],\r\n      ['data2', 400, 500, 250, 700, 300],\r\n    ],\r\n    hide: ['data2']\r\n  }\r\n});\r\n```\r\n\r\n### Rendered image\r\n\r\n<img width=\"653\" alt=\"incorrect_0_4_15\" src=\"https://user-images.githubusercontent.com/5163009/28607661-d857bbf6-7217-11e7-992c-128503e3ea3e.png\">\r\n\r\n### Expected image\r\n\r\n<img width=\"651\" alt=\"success_0_4_14\" src=\"https://user-images.githubusercontent.com/5163009/28607665-dfca2f54-7217-11e7-9fca-f06b09779a1c.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/c3js/c3/issues/comments/319727546","html_url":"https://github.com/c3js/c3/issues/2121#issuecomment-319727546","issue_url":"https://api.github.com/repos/c3js/c3/issues/2121","id":319727546,"user":{"login":"JPSilva88","id":14071288,"avatar_url":"https://avatars3.githubusercontent.com/u/14071288?v=4","gravatar_id":"","url":"https://api.github.com/users/JPSilva88","html_url":"https://github.com/JPSilva88","followers_url":"https://api.github.com/users/JPSilva88/followers","following_url":"https://api.github.com/users/JPSilva88/following{/other_user}","gists_url":"https://api.github.com/users/JPSilva88/gists{/gist_id}","starred_url":"https://api.github.com/users/JPSilva88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPSilva88/subscriptions","organizations_url":"https://api.github.com/users/JPSilva88/orgs","repos_url":"https://api.github.com/users/JPSilva88/repos","events_url":"https://api.github.com/users/JPSilva88/events{/privacy}","received_events_url":"https://api.github.com/users/JPSilva88/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T16:35:02Z","updated_at":"2017-08-02T16:35:02Z","body":"It's to do with this PR: https://github.com/c3js/c3/pull/2069\r\n\r\nUnfortunately that PR only works if you don't have the possibility to hide/show bar charts. I suggest reverting that PR and coming up with a proper solution of moving the opacity to css, like adding a class when shown and a class when hidden."}}
{"actor":{"display_login":"JPSilva88"}}