{"action":"opened","issue":{"url":"https://api.github.com/repos/danielgindi/ios-charts/issues/750","repository_url":"https://api.github.com/repos/danielgindi/ios-charts","labels_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/750/labels{/name}","comments_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/750/comments","events_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/750/events","html_url":"https://github.com/danielgindi/ios-charts/issues/750","id":132882291,"number":750,"title":"Support custom formatting of chart labels","user":{"login":"franqueli","id":74138,"avatar_url":"https://avatars.githubusercontent.com/u/74138?v=3","gravatar_id":"","url":"https://api.github.com/users/franqueli","html_url":"https://github.com/franqueli","followers_url":"https://api.github.com/users/franqueli/followers","following_url":"https://api.github.com/users/franqueli/following{/other_user}","gists_url":"https://api.github.com/users/franqueli/gists{/gist_id}","starred_url":"https://api.github.com/users/franqueli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franqueli/subscriptions","organizations_url":"https://api.github.com/users/franqueli/orgs","repos_url":"https://api.github.com/users/franqueli/repos","events_url":"https://api.github.com/users/franqueli/events{/privacy}","received_events_url":"https://api.github.com/users/franqueli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T04:02:00Z","updated_at":"2016-02-11T04:02:00Z","closed_at":null,"body":"We have a use case where we need some custom logic when displaying a label on a bar chart. A zero value would at times need to be labeled N/A. I don't think the current interface makes it easy to support this. \r\n\r\nI've implemented this functionality modeled after MPAndroidChart's ValueFormatter interface. \r\nChanges can be viewed in this git repo. \r\nhttps://github.com/franqueli/ios-charts/tree/ValueFormatterProtocol\r\n\r\n"}}