-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
hide values under 10% #959
Comments
if you could override drawValues why you have to override DrawRect? and even so overriding drawRect seems also fine. I don't know why you cannot override internal. |
I need to override the drawRect to change a line: " the drawRect is this one: ` public override func drawRect(rect: CGRect)
Thanks in advance |
Hi, I'm sure you've thought of this and I don't understand your problem correctly, but I wonder if it might be easier to work around this issue? You say you want to hide values in your bar chart that are under 10%. I'm not sure precisely what you mean, but could you calculate if they are under 10% yourself and then change the data you pass? |
regardless of overriding drawRect, I think once you are able to write drawValues, you can achieve "hide values under 10%" already, why bother overriding drawRect? You just initialize "myRenderer" in initialize() so drawRect will call your renderer, right? |
Hi, I want to hide the values in my barchart that are under 10%, i've already override drawValues but I need to overide DrawRect from BarLineChartViewBase.
I've already overrided some methods from the library but how can I override if some methods are internal?
The text was updated successfully, but these errors were encountered: