{"action":"opened","issue":{"url":"https://api.github.com/repos/gionkunz/chartist-js/issues/282","labels_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/282/comments","events_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/282/events","html_url":"https://github.com/gionkunz/chartist-js/issues/282","id":70395041,"number":282,"title":"Error on charts that are hidden first","user":{"login":"Martinomagnifico","id":380576,"avatar_url":"https://avatars.githubusercontent.com/u/380576?v=3","gravatar_id":"","url":"https://api.github.com/users/Martinomagnifico","html_url":"https://github.com/Martinomagnifico","followers_url":"https://api.github.com/users/Martinomagnifico/followers","following_url":"https://api.github.com/users/Martinomagnifico/following{/other_user}","gists_url":"https://api.github.com/users/Martinomagnifico/gists{/gist_id}","starred_url":"https://api.github.com/users/Martinomagnifico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martinomagnifico/subscriptions","organizations_url":"https://api.github.com/users/Martinomagnifico/orgs","repos_url":"https://api.github.com/users/Martinomagnifico/repos","events_url":"https://api.github.com/users/Martinomagnifico/events{/privacy}","received_events_url":"https://api.github.com/users/Martinomagnifico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T12:08:35Z","updated_at":"2015-04-23T12:08:35Z","closed_at":null,"body":"I have multiple charts on a single page. But some content is hidden, and made visible by clicking tabs (Bootstrap). This leads to different errors. \r\n\r\nThe first error is that charts in hidden areas are not rendered, so that when the tab is made visible, the chart is still NOT visible. This can be fixed by re-calling the function that builds the charts. \r\n\r\nThe second error is not immediately visible, but can be seen in the console:\r\n\r\n        [Error] Error: Invalid value for <foreignObject> attribute height=\"NaN\"\r\n        (anonymous function) (chartist.min.js, line 7)\r\n        (anonymous function) ([native code], line 0)\r\n        forEach\r\n        e (chartist.min.js, line 7)\r\n        d (chartist.min.js, line 7)\r\n        f (chartist.min.js, line 7)\r\n        f (chartist.min.js, line 7)\r\n        k (chartist.min.js, line 7)\r\n        createLabel (chartist.min.js, line 7)\r\n        (anonymous function) (chartist.min.js, line 7)\r\n        forEach\r\n        createAxis (chartist.min.js, line 7)\r\n        d (chartist.min.js, line 7)\r\n        h (chartist.min.js, line 7)\r\n        h ([native code], line 0)\r\n\r\n\r\nIs this fixable, or can the error be suppressed?"}}