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

data reduction (Douglas Peucker) #3

Open
NomadicDeveloper22 opened this issue Oct 22, 2021 · 2 comments
Open

data reduction (Douglas Peucker) #3

NomadicDeveloper22 opened this issue Oct 22, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@NomadicDeveloper22
Copy link

I am currently using MPAndroidChart, but this library seems much more practical for my needs and do plan on switching over to it

However, the biggest downfall of what I'm currently using is the lack of data reduction. Which makes the chart look very weird when you have tens of thousands of points on a device as small as a phone.

is there such a feature with this library or could one be added?

@thsaravana
Copy link
Member

thsaravana commented Oct 22, 2021

The library offers scroll in X-axis. So if you have thousand data points, then the graph will be scrollable in the X-axis. You can try running the sample app and tweak the DataPoints (https://github.com/Madrapps/plot/blob/main/sample/src/main/java/com/madrapps/sample/linegraph/DataPoints.kt) to see how your data is rendered in the component.
Let me know once you try this. We can talk further.

@thsaravana thsaravana self-assigned this Oct 22, 2021
@thsaravana thsaravana added the question Further information is requested label Oct 22, 2021
@NomadicDeveloper22
Copy link
Author

NomadicDeveloper22 commented Oct 22, 2021

Hello, thank you for responding

that sounds exactly like what MPAndroidChart does, it doesn't exactly come off as the cleanest look for my users. And most of them don't need to actually see that much data, they just need to get a good understanding of it. Hence the reduction

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

No branches or pull requests

2 participants