{"action":"created","issue":{"url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/102","repository_url":"https://api.github.com/repos/timdream/wordcloud2.js","labels_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/102/comments","events_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/102/events","html_url":"https://github.com/timdream/wordcloud2.js/issues/102","id":250051460,"number":102,"title":"rotateRatio: callback function. First word always horizontal?","user":{"login":"Pyot","id":24312172,"avatar_url":"https://avatars0.githubusercontent.com/u/24312172?v=4","gravatar_id":"","url":"https://api.github.com/users/Pyot","html_url":"https://github.com/Pyot","followers_url":"https://api.github.com/users/Pyot/followers","following_url":"https://api.github.com/users/Pyot/following{/other_user}","gists_url":"https://api.github.com/users/Pyot/gists{/gist_id}","starred_url":"https://api.github.com/users/Pyot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pyot/subscriptions","organizations_url":"https://api.github.com/users/Pyot/orgs","repos_url":"https://api.github.com/users/Pyot/repos","events_url":"https://api.github.com/users/Pyot/events{/privacy}","received_events_url":"https://api.github.com/users/Pyot/received_events","type":"User","site_admin":false},"labels":[{"id":21472043,"url":"https://api.github.com/repos/timdream/wordcloud2.js/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-14T14:39:42Z","updated_at":"2018-02-02T13:46:49Z","closed_at":"2018-02-02T13:46:49Z","author_association":"NONE","body":"I would like to keep rotateRatio: for first element \"0\".\r\nI try to use to call back function:\r\n\r\n  rotateRatio: function (fontSize) {\r\n                    if (fontSize === 50 ) {\r\n                      return 0;\r\n                  } else {\r\n                      return 0.5;\r\n                  }\r\n              },\r\n\r\nBut it dosen't sems to work.\r\nCan I use call back function on rotateRatio?\r\nIf not any idea how to make the first word always horizontal?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/comments/362590517","html_url":"https://github.com/timdream/wordcloud2.js/issues/102#issuecomment-362590517","issue_url":"https://api.github.com/repos/timdream/wordcloud2.js/issues/102","id":362590517,"user":{"login":"timdream","id":93093,"avatar_url":"https://avatars2.githubusercontent.com/u/93093?v=4","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":"2018-02-02T13:46:49Z","updated_at":"2018-02-02T13:46:49Z","author_association":"OWNER","body":"Cleaning up the issue since this is mentioned on the [roadmap](https://github.com/timdream/wordcloud2.js/blob/263f3abaf785f307f068f6d9a1438c3b94993e9a/CONTRIBUTING.md#more-api-features)."}}
{"actor":{"display_login":"timdream"}}