{"action":"created","issue":{"url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/30","repository_url":"https://api.github.com/repos/timdream/wordcloud2.js","labels_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/30/comments","events_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/30/events","html_url":"https://github.com/timdream/wordcloud2.js/issues/30","id":35343171,"number":30,"title":"container offset process","user":{"login":"gudaoxuri","id":2802567,"avatar_url":"https://avatars.githubusercontent.com/u/2802567?v=3","gravatar_id":"","url":"https://api.github.com/users/gudaoxuri","html_url":"https://github.com/gudaoxuri","followers_url":"https://api.github.com/users/gudaoxuri/followers","following_url":"https://api.github.com/users/gudaoxuri/following{/other_user}","gists_url":"https://api.github.com/users/gudaoxuri/gists{/gist_id}","starred_url":"https://api.github.com/users/gudaoxuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gudaoxuri/subscriptions","organizations_url":"https://api.github.com/users/gudaoxuri/orgs","repos_url":"https://api.github.com/users/gudaoxuri/repos","events_url":"https://api.github.com/users/gudaoxuri/events{/privacy}","received_events_url":"https://api.github.com/users/gudaoxuri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-06-10T01:55:17Z","updated_at":"2016-06-14T15:04:16Z","closed_at":null,"body":"please add `el.offsetLeft ` and `el.offsetTop`  like this:\r\n \r\n     var styleRules = {\r\n    ...\r\n            'left': el.offsetLeft + ((gx + info.gw / 2) * g + info.fillTextOffsetX) + 'px',\r\n            'top': el.offsetTop + ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px',\r\n    ..."},"comment":{"url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/comments/225911192","html_url":"https://github.com/timdream/wordcloud2.js/issues/30#issuecomment-225911192","issue_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/30","id":225911192,"user":{"login":"timdream","id":93093,"avatar_url":"https://avatars.githubusercontent.com/u/93093?v=3","gravatar_id":"","url":"https://api.github.com/users/timdream","html_url":"https://github.com/timdream","followers_url":"https://api.github.com/users/timdream/followers","following_url":"https://api.github.com/users/timdream/following{/other_user}","gists_url":"https://api.github.com/users/timdream/gists{/gist_id}","starred_url":"https://api.github.com/users/timdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdream/subscriptions","organizations_url":"https://api.github.com/users/timdream/orgs","repos_url":"https://api.github.com/users/timdream/repos","events_url":"https://api.github.com/users/timdream/events{/privacy}","received_events_url":"https://api.github.com/users/timdream/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T15:04:16Z","updated_at":"2016-06-14T15:04:16Z","body":"Demo page works because \r\n\r\nhttps://github.com/timdream/wordcloud2.js/blob/gh-pages/index.html#L30\r\nhttps://github.com/timdream/wordcloud2.js/blob/gh-pages/index.html#L36\r\n\r\nIf we adopt the fix suggested above, we could actually remove these styles."}}
{"actor":{"display_login":"timdream"}}