-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add enableSmoothing
prop
#100
base: main
Are you sure you want to change the base?
Conversation
4654ae1
to
d9461e5
Compare
7f968ba
to
23e6e60
Compare
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 |
Adds a
enableSmoothing
prop to<LineGraph />
and adds the necessary logic to create the Skia path (createGraphPath
) and calculate the Y position for the gesture (getYForX
)