{"action":"created","issue":{"url":"https://api.github.com/repos/kevinzhow/PNChart/issues/447","repository_url":"https://api.github.com/repos/kevinzhow/PNChart","labels_url":"https://api.github.com/repos/kevinzhow/PNChart/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/kevinzhow/PNChart/issues/447/comments","events_url":"https://api.github.com/repos/kevinzhow/PNChart/issues/447/events","html_url":"https://github.com/kevinzhow/PNChart/issues/447","id":369006606,"node_id":"MDU6SXNzdWUzNjkwMDY2MDY=","number":447,"title":"PNPireChart画饼状图时添加间距","user":{"login":"MMGuison","id":19251401,"node_id":"MDQ6VXNlcjE5MjUxNDAx","avatar_url":"https://avatars1.githubusercontent.com/u/19251401?v=4","gravatar_id":"","url":"https://api.github.com/users/MMGuison","html_url":"https://github.com/MMGuison","followers_url":"https://api.github.com/users/MMGuison/followers","following_url":"https://api.github.com/users/MMGuison/following{/other_user}","gists_url":"https://api.github.com/users/MMGuison/gists{/gist_id}","starred_url":"https://api.github.com/users/MMGuison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMGuison/subscriptions","organizations_url":"https://api.github.com/users/MMGuison/orgs","repos_url":"https://api.github.com/users/MMGuison/repos","events_url":"https://api.github.com/users/MMGuison/events{/privacy}","received_events_url":"https://api.github.com/users/MMGuison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-11T08:25:44Z","updated_at":"2018-10-11T08:28:25Z","closed_at":null,"author_association":"NONE","body":" CGFloat sinf = sin((endPercentage - startPercentage) * M_PI + startPercentage * M_PI * 2 ) * self.itemSpacing;\r\n    CGFloat cosf = cos((endPercentage - startPercentage) * M_PI + startPercentage * M_PI * 2) * self.itemSpacing;\r\n    \r\n    CGPoint center = CGPointMake(CGRectGetMidX(self.bounds) + sinf ,CGRectGetMidY(self.bounds) - cosf);\r\n\r\n大意就是通过改变中心点的位置修改item的位置\r\n![default](https://user-images.githubusercontent.com/19251401/46790579-ddbdc480-cd71-11e8-9cfc-be145e4c67f2.png)\r\n"},"comment":{"url":"https://api.github.com/repos/kevinzhow/PNChart/issues/comments/428867049","html_url":"https://github.com/kevinzhow/PNChart/issues/447#issuecomment-428867049","issue_url":"https://api.github.com/repos/kevinzhow/PNChart/issues/447","id":428867049,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODg2NzA0OQ==","user":{"login":"MMGuison","id":19251401,"node_id":"MDQ6VXNlcjE5MjUxNDAx","avatar_url":"https://avatars1.githubusercontent.com/u/19251401?v=4","gravatar_id":"","url":"https://api.github.com/users/MMGuison","html_url":"https://github.com/MMGuison","followers_url":"https://api.github.com/users/MMGuison/followers","following_url":"https://api.github.com/users/MMGuison/following{/other_user}","gists_url":"https://api.github.com/users/MMGuison/gists{/gist_id}","starred_url":"https://api.github.com/users/MMGuison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMGuison/subscriptions","organizations_url":"https://api.github.com/users/MMGuison/orgs","repos_url":"https://api.github.com/users/MMGuison/repos","events_url":"https://api.github.com/users/MMGuison/events{/privacy}","received_events_url":"https://api.github.com/users/MMGuison/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T08:28:25Z","updated_at":"2018-10-11T08:28:25Z","author_association":"NONE","body":"![simulator screen shot - iphone xs max - 2018-10-11 at 16 26 50](https://user-images.githubusercontent.com/19251401/46790972-a56ab600-cd72-11e8-98df-ce229245daa7.png)\r\n![simulator screen shot - iphone xs max - 2018-10-11 at 16 27 16](https://user-images.githubusercontent.com/19251401/46790974-a69be300-cd72-11e8-9d23-c8e2a83a2e4c.png)\r\n"}}
{"actor":{"display_login":"MMGuison"}}