{"action":"created","issue":{"url":"https://api.github.com/repos/rakannimer/react-google-charts/issues/195","repository_url":"https://api.github.com/repos/rakannimer/react-google-charts","labels_url":"https://api.github.com/repos/rakannimer/react-google-charts/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/rakannimer/react-google-charts/issues/195/comments","events_url":"https://api.github.com/repos/rakannimer/react-google-charts/issues/195/events","html_url":"https://github.com/rakannimer/react-google-charts/issues/195","id":324186926,"number":195,"title":"Error when having multiple charts","user":{"login":"maccyber","id":701351,"avatar_url":"https://avatars2.githubusercontent.com/u/701351?v=4","gravatar_id":"","url":"https://api.github.com/users/maccyber","html_url":"https://github.com/maccyber","followers_url":"https://api.github.com/users/maccyber/followers","following_url":"https://api.github.com/users/maccyber/following{/other_user}","gists_url":"https://api.github.com/users/maccyber/gists{/gist_id}","starred_url":"https://api.github.com/users/maccyber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maccyber/subscriptions","organizations_url":"https://api.github.com/users/maccyber/orgs","repos_url":"https://api.github.com/users/maccyber/repos","events_url":"https://api.github.com/users/maccyber/events{/privacy}","received_events_url":"https://api.github.com/users/maccyber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-17T21:09:52Z","updated_at":"2018-05-27T13:50:35Z","closed_at":"2018-05-26T06:58:22Z","author_association":"NONE","body":"I use [next.js](https://github.com/zeit/next.js) and react-google-charts - both on latest version.\r\n\r\nWhen i have multiple charts on a page, it throws me the following error\r\n![g-charts](https://user-images.githubusercontent.com/701351/40203923-25b71732-5a27-11e8-9333-7bceb82b7800.png)\r\n\r\nAll the charts still work.\r\n\r\nExample code in next.js:\r\n```js\r\nimport { Chart } from 'react-google-charts'\r\n\r\nexport default () => (\r\n  <div>\r\n    <Chart\r\n      chartType=\"ScatterChart\"\r\n      data={[['Age', 'Weight'], [8, 12], [4, 5.5]]}\r\n      options={{}}\r\n      graph_id=\"ScatterChart1\"\r\n      width=\"100%\"\r\n      height=\"400px\"\r\n      legend_toggle\r\n    />\r\n    <Chart\r\n      chartType=\"ScatterChart\"\r\n      data={[['Age', 'Weight'], [8, 12], [4, 5.5]]}\r\n      options={{}}\r\n      graph_id=\"ScatterChart2\"\r\n      width=\"100%\"\r\n      height=\"400px\"\r\n      legend_toggle\r\n    />\r\n  </div>\r\n)\r\n```\r\n\r\nAnd thanks for this awesome wrapper btw, it plays a vital part in our site at https://bigfive-test.com"},"comment":{"url":"https://api.github.com/repos/rakannimer/react-google-charts/issues/comments/392332486","html_url":"https://github.com/rakannimer/react-google-charts/issues/195#issuecomment-392332486","issue_url":"https://api.github.com/repos/rakannimer/react-google-charts/issues/195","id":392332486,"user":{"login":"FabianSchuessler","id":10107422,"avatar_url":"https://avatars0.githubusercontent.com/u/10107422?v=4","gravatar_id":"","url":"https://api.github.com/users/FabianSchuessler","html_url":"https://github.com/FabianSchuessler","followers_url":"https://api.github.com/users/FabianSchuessler/followers","following_url":"https://api.github.com/users/FabianSchuessler/following{/other_user}","gists_url":"https://api.github.com/users/FabianSchuessler/gists{/gist_id}","starred_url":"https://api.github.com/users/FabianSchuessler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabianSchuessler/subscriptions","organizations_url":"https://api.github.com/users/FabianSchuessler/orgs","repos_url":"https://api.github.com/users/FabianSchuessler/repos","events_url":"https://api.github.com/users/FabianSchuessler/events{/privacy}","received_events_url":"https://api.github.com/users/FabianSchuessler/received_events","type":"User","site_admin":false},"created_at":"2018-05-27T13:50:35Z","updated_at":"2018-05-27T13:50:35Z","author_association":"NONE","body":"This issue was only fixed for multiple charts on one page.\r\nThe issue still persists for charts on different pages."}}
{"actor":{"display_login":"FabianSchuessler"}}