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

Extrapolated value lower than yAxisOffset breaks pointer strip #905

Open
daanvanberkel opened this issue Nov 15, 2024 · 1 comment
Open

Comments

@daanvanberkel
Copy link

Description

When creating a line chart with a custom pointer, the pointer strip is broken when the extrapolated value is lower than the given yAxisOffset. Even when extrapolateMissingValues is set to false.

Example where the extrapolated data would be lower than the yAxisOffset: (broken strip)
Chart - Wrong

Example where the extrapolated data is higher than the yAxisOffset: (correct strip)
Chart - Right

Steps to reproduce

  1. Create a line chart with custom pointer.
  2. Make sure the extrapolated data is below the yAxisOffset.

Snack or a link to a repository

No response

version of react-native-gifted-charts

1.4.47

React Native version

0.74.3

Platforms

Android, iOS

Workflow

React Native

@Abhinandan-Kushwaha
Copy link
Owner

Hi @daanvanberkel What is the value of yAxisOffset in your example? Can you share the code too?

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

No branches or pull requests

2 participants