-
Notifications
You must be signed in to change notification settings - Fork 17
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
Visual bugs and data misrepresentation due to smoothing [BUG] #37
Comments
Hey, try to add this line in your xml that hold that view: android:clipChildren="false" |
@MilanMalovic Yeah that worked for the clipping issue. I now see that it was included in the XML in the README as well, but totally missed it so thanks for that! The other issues are less visible on large datasets and I can smooth out the original data points myself anyway, so for now I'm good! |
Hi @baraaaljabban, try to add android:clipChildren="false" to other views above or below LiveChart view. Hope it helps |
Awesome charts! I am not surprised if there is some issues with the smooth lines 🤕, especially with the fill. I'll raise two bugs for smoothing lines returning incorrect data points and for smooth fill inconsistencies. |
@EdwardvanRaak You are right the |
@MilanMalovic yep this fixed it temporary thanks |
@Pfuster12 thank you! and thanks to you my friend for what you have done and for this repo! |
Describe the bug
Great lib, love the simple designs.
It's however possible with certain datasets and configurations to get some quite strange looking graphs.
As an example take (over-exaggerated) dataset:
With XML
And code
This results in:
The bugs I discovered:
3.88
which is a point provided by smoothing but not a real value. As smoothing is a pure "visual" feature, I find it strange that datapoints are not accurately returned in this case.The text was updated successfully, but these errors were encountered: