-
Notifications
You must be signed in to change notification settings - Fork 129
Add enableSmoothing prop
#100
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
base: main
Are you sure you want to change the base?
Conversation
4654ae1 to
d9461e5
Compare
7f968ba to
23e6e60
Compare
mrousavy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
invert
|
I see an issue trying to use this branch, "synchronously call non-worklet function 'linearInterpolation' " have you guys gotten similar issues? |
|
Adding 'worklet' inside linearInterpolation solves this issue |
|
Unfortunately this still doesn't solve, the multiple data points on same day and also if there is a break with the dates on data |
|
@chrispader Is there any updates on this feature? Or is there any work arounds to smoothen the graph line? |
Adds a
enableSmoothingprop to<LineGraph />and adds the necessary logic to create the Skia path (createGraphPath) and calculate the Y position for the gesture (getYForX)