Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom gradient color of BarChatView #1868

Closed
moyun-yinyun opened this issue Nov 22, 2016 · 1 comment
Closed

custom gradient color of BarChatView #1868

moyun-yinyun opened this issue Nov 22, 2016 · 1 comment

Comments

@moyun-yinyun
Copy link

The superClass BarChartRenderer can't override drawDataSet,Please help me, I am a noob.Thank you.

@liuxuan30
Copy link
Member

liuxuan30 commented Nov 29, 2016

Due to it's open:

open func drawDataSet(context: CGContext, dataSet: IBarChartDataSet, index: Int)

You can override for sure.. take some time reading https://developer.apple.com/library/prerelease/content/documentation/Swift/Conceptual/Swift_Programming_Language/AccessControl.html#//apple_ref/doc/uid/TP40014097-CH41-ID3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants