{"action":"created","issue":{"url":"https://api.github.com/repos/kirjs/react-highcharts/issues/119","repository_url":"https://api.github.com/repos/kirjs/react-highcharts","labels_url":"https://api.github.com/repos/kirjs/react-highcharts/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/kirjs/react-highcharts/issues/119/comments","events_url":"https://api.github.com/repos/kirjs/react-highcharts/issues/119/events","html_url":"https://github.com/kirjs/react-highcharts/issues/119","id":144174862,"number":119,"title":"Uncaught TypeError: Cannot read property 'chart' of undefined","user":{"login":"realbugger","id":9424409,"avatar_url":"https://avatars.githubusercontent.com/u/9424409?v=3","gravatar_id":"","url":"https://api.github.com/users/realbugger","html_url":"https://github.com/realbugger","followers_url":"https://api.github.com/users/realbugger/followers","following_url":"https://api.github.com/users/realbugger/following{/other_user}","gists_url":"https://api.github.com/users/realbugger/gists{/gist_id}","starred_url":"https://api.github.com/users/realbugger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realbugger/subscriptions","organizations_url":"https://api.github.com/users/realbugger/orgs","repos_url":"https://api.github.com/users/realbugger/repos","events_url":"https://api.github.com/users/realbugger/events{/privacy}","received_events_url":"https://api.github.com/users/realbugger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-29T06:57:24Z","updated_at":"2016-04-01T21:32:55Z","closed_at":"2016-04-01T21:24:37Z","body":"First of all, really nice job for wrapping highcharts as a react component, exactly what I've been looking for!\r\n\r\nFollowing the instruction, I was able to get it up and run pretty easily. Everything works as expected, except the browser keeps throwing the following error whenever page reflows.\r\n```\r\nUncaught TypeError: Cannot read property 'chart' of undefined\r\n    hb.reflow @highcharts.js:222\r\n    (anonymous function) @ReactHighcharts.js:1\r\n```\r\nAlthough it doesn't seem to cause any real problem (the charts redraw without issue), I'd love to see a way to workaround the error. Here is the code for reference, which is pretty much the bare minimal for showing a line chart.\r\n\r\n```\r\nimport React, {Component} from 'react';\r\nimport ReactHighcharts from 'react-highcharts';\r\n\r\nexport default class HighchartLine extends Component {\r\n  constructor(props) {\r\n    super(props);\r\n  }\r\n\r\n  render() {\r\n    const config = {\r\n      ...... // skipping the detail here for saving space\r\n    };\r\n    return (<ReactHighcharts config = {config} />);\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/kirjs/react-highcharts/issues/comments/204571480","html_url":"https://github.com/kirjs/react-highcharts/issues/119#issuecomment-204571480","issue_url":"https://api.github.com/repos/kirjs/react-highcharts/issues/119","id":204571480,"user":{"login":"kirjs","id":2545357,"avatar_url":"https://avatars.githubusercontent.com/u/2545357?v=3","gravatar_id":"","url":"https://api.github.com/users/kirjs","html_url":"https://github.com/kirjs","followers_url":"https://api.github.com/users/kirjs/followers","following_url":"https://api.github.com/users/kirjs/following{/other_user}","gists_url":"https://api.github.com/users/kirjs/gists{/gist_id}","starred_url":"https://api.github.com/users/kirjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirjs/subscriptions","organizations_url":"https://api.github.com/users/kirjs/orgs","repos_url":"https://api.github.com/users/kirjs/repos","events_url":"https://api.github.com/users/kirjs/events{/privacy}","received_events_url":"https://api.github.com/users/kirjs/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T21:32:55Z","updated_at":"2016-04-01T21:32:55Z","body":"This should be fixed in 8.1.0, thanks to @dbergey "}}