{"action":"opened","issue":{"url":"https://api.github.com/repos/mytalengi/myt-pie-chart/issues/13","repository_url":"https://api.github.com/repos/mytalengi/myt-pie-chart","labels_url":"https://api.github.com/repos/mytalengi/myt-pie-chart/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mytalengi/myt-pie-chart/issues/13/comments","events_url":"https://api.github.com/repos/mytalengi/myt-pie-chart/issues/13/events","html_url":"https://github.com/mytalengi/myt-pie-chart/issues/13","id":171405910,"number":13,"title":"Support labels","user":{"login":"miphe","id":393147,"avatar_url":"https://avatars.githubusercontent.com/u/393147?v=3","gravatar_id":"","url":"https://api.github.com/users/miphe","html_url":"https://github.com/miphe","followers_url":"https://api.github.com/users/miphe/followers","following_url":"https://api.github.com/users/miphe/following{/other_user}","gists_url":"https://api.github.com/users/miphe/gists{/gist_id}","starred_url":"https://api.github.com/users/miphe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miphe/subscriptions","organizations_url":"https://api.github.com/users/miphe/orgs","repos_url":"https://api.github.com/users/miphe/repos","events_url":"https://api.github.com/users/miphe/events{/privacy}","received_events_url":"https://api.github.com/users/miphe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mytalengi/myt-pie-chart/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"anteAdamovic","id":17598626,"avatar_url":"https://avatars.githubusercontent.com/u/17598626?v=3","gravatar_id":"","url":"https://api.github.com/users/anteAdamovic","html_url":"https://github.com/anteAdamovic","followers_url":"https://api.github.com/users/anteAdamovic/followers","following_url":"https://api.github.com/users/anteAdamovic/following{/other_user}","gists_url":"https://api.github.com/users/anteAdamovic/gists{/gist_id}","starred_url":"https://api.github.com/users/anteAdamovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anteAdamovic/subscriptions","organizations_url":"https://api.github.com/users/anteAdamovic/orgs","repos_url":"https://api.github.com/users/anteAdamovic/repos","events_url":"https://api.github.com/users/anteAdamovic/events{/privacy}","received_events_url":"https://api.github.com/users/anteAdamovic/received_events","type":"User","site_admin":false},"assignees":[{"login":"anteAdamovic","id":17598626,"avatar_url":"https://avatars.githubusercontent.com/u/17598626?v=3","gravatar_id":"","url":"https://api.github.com/users/anteAdamovic","html_url":"https://github.com/anteAdamovic","followers_url":"https://api.github.com/users/anteAdamovic/followers","following_url":"https://api.github.com/users/anteAdamovic/following{/other_user}","gists_url":"https://api.github.com/users/anteAdamovic/gists{/gist_id}","starred_url":"https://api.github.com/users/anteAdamovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anteAdamovic/subscriptions","organizations_url":"https://api.github.com/users/anteAdamovic/orgs","repos_url":"https://api.github.com/users/anteAdamovic/repos","events_url":"https://api.github.com/users/anteAdamovic/events{/privacy}","received_events_url":"https://api.github.com/users/anteAdamovic/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mytalengi/myt-pie-chart/milestones/2","html_url":"https://github.com/mytalengi/myt-pie-chart/milestones/2.1.1","labels_url":"https://api.github.com/repos/mytalengi/myt-pie-chart/milestones/2/labels","id":1906657,"number":2,"title":"2.1.1","description":"Version 2.1.1 supports more custom functions to be invoked on slice click event. This will enable the user to change data in the chart to display more detailed information about the slice that was clicked. Also this version will have minor additions of optional features.","creator":{"login":"miphe","id":393147,"avatar_url":"https://avatars.githubusercontent.com/u/393147?v=3","gravatar_id":"","url":"https://api.github.com/users/miphe","html_url":"https://github.com/miphe","followers_url":"https://api.github.com/users/miphe/followers","following_url":"https://api.github.com/users/miphe/following{/other_user}","gists_url":"https://api.github.com/users/miphe/gists{/gist_id}","starred_url":"https://api.github.com/users/miphe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miphe/subscriptions","organizations_url":"https://api.github.com/users/miphe/orgs","repos_url":"https://api.github.com/users/miphe/repos","events_url":"https://api.github.com/users/miphe/events{/privacy}","received_events_url":"https://api.github.com/users/miphe/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-07-27T08:41:19Z","updated_at":"2016-08-16T13:18:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-16T13:18:09Z","updated_at":"2016-08-16T13:18:09Z","closed_at":null,"body":"Right now the label used in the pie chart is the `data.name` attribute. I would like to support a separate label, which would default (if omitted) to the `data.name` attribute.\r\n\r\nThe data model may look like this:\r\n\r\n```javascript\r\nname: 'phtm',\r\nlabel: 'The Phantom',\r\nvalue: 1589,\r\nbgColor: '#ccc',\r\ncolor: '#444'\r\n```\r\n\r\nor like this:\r\n\r\n```javascript\r\nname: 'phtm',\r\nvalue: 1589,\r\nbgColor: '#ccc',\r\ncolor: '#444'\r\n```\r\n\r\nIn the last example, the label used in the graph would default to `phtm`."}}
{"actor":{"display_login":"miphe"}}