Closed chrispader closed 2 years ago
@mrousavy Ready for review! This PR is based on #17 and #18.
@chrispader do you have a video example of what the indicator looks like? Wondering what the use case would be!
This is how it looks in the app i originally had the need for this feature.
This includes the basic indicator and also a "live" pulse animation.
Not completely finished yet though 😬
@chrispader the live pulse looks super nice!
Have you tried integrating a gradient?
Saw some discussion here https://github.com/margelo/react-native-graph/issues/11#issuecomment-1119861429.
Not yet! Implemented a lot of features for use cases in one of our own projects at Margelo. I'll talk to @mrousavy on this. If i find some time, i may be implementing this for general use.
Hey Chris Pader, I was playing around with the Spline interpolation method you integration in this PR. I think it might not be implemented correctly, as there were a few of my datapoints with higher Y positions, got rendered lower
Hey Chris Pader, I was playing around with the Spline interpolation method you integration in this PR. I think it might not be implemented correctly, as there were a few of my datapoints with higher Y positions, got rendered lower
Hi! Thanks for your input.
I already made some changes in a project for one of our clients, that address these issues..
I'll update this PR soon, so everhing works.
Sorry for the delay, kinda busy right now 😅😬
No worries, thanks for working on this! I have been trying to fix the interpolation issue as well. The current bezier curves only results in such blocky graphs when data is sparse.
@chrispader, are there any updates on this?
Not supposed to be closed, just an issue with squashing the commits. To be continued
LGTM! 🚀 nice work chris!
Allow the user to show an indicator at the end of the graph. This indicator gets hidden once the hold/pan gesture gets started.