{"action":"closed","issue":{"url":"https://api.github.com/repos/danielgindi/ios-charts/issues/357","labels_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/357/comments","events_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/357/events","html_url":"https://github.com/danielgindi/ios-charts/issues/357","id":106053777,"number":357,"title":"Module is not extensible","user":{"login":"iheart2code","id":590310,"avatar_url":"https://avatars.githubusercontent.com/u/590310?v=3","gravatar_id":"","url":"https://api.github.com/users/iheart2code","html_url":"https://github.com/iheart2code","followers_url":"https://api.github.com/users/iheart2code/followers","following_url":"https://api.github.com/users/iheart2code/following{/other_user}","gists_url":"https://api.github.com/users/iheart2code/gists{/gist_id}","starred_url":"https://api.github.com/users/iheart2code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iheart2code/subscriptions","organizations_url":"https://api.github.com/users/iheart2code/orgs","repos_url":"https://api.github.com/users/iheart2code/repos","events_url":"https://api.github.com/users/iheart2code/events{/privacy}","received_events_url":"https://api.github.com/users/iheart2code/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danielgindi/ios-charts/labels/discussion","name":"discussion","color":"2d9e11"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-09-11T17:06:44Z","updated_at":"2016-01-24T21:10:55Z","closed_at":"2016-01-24T21:10:55Z","body":"I do not have a suggested solution for this issue, but the Swift module is not nearly as extensible as the Java counterpart. In Java, you can create a subclass of a chart renderer and take advantage of internal/protected methods & properties to create a custom chart renderer. This does not appear to be the case with the Swift module.\r\n\r\nI was trying to create a bar chart with rounded corners on the bars. I needed to subclass BarChartRenderer, but was unable to do so without moving the ios-charts source code into my app's module.\r\n\r\nIs there a way to accomplish a similar level of API-parity with the Java counterpart while at the same time allowing for extensibility? Perhaps take advantage of protocols or something."}}