-
Notifications
You must be signed in to change notification settings - Fork 152
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
PointerConfig includes undefined/interpolated values #881
Comments
Hi @dannybit 👋 I have added the properties When |
Awesome! Thank you for implementing all these changes so quickly!!! |
@Abhinandan-Kushwaha Thanks for adding this! I was using cubic interpolation to handle this but wasn't loving the results, and I saw this version add interpolation. 👯
|
Description
I am trying to use pointerConfig to let the user scroll the pointer across the datapoints in the chart. My chart includes datapoint with undefined values which are interpolated using
interpolateMissingValues={true}
. However, the pointer selection includes these datapoints. Is there a way to filter these datapoints or jump to the next or previous datapoint with a value defined?Here is an example (there are no datapoints defined between the 2 datapoints):
Here is the code to reproduce:
Steps to reproduce
Snack or a link to a repository
No response
version of react-native-gifted-charts
1.4.43
React Native version
0.74.3
Platforms
iOS
Workflow
None
The text was updated successfully, but these errors were encountered: