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

add syncMethod prop to charts #64

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

leoancap
Copy link
Contributor

this pr adds the syncMethod index or value. The default one is index but if two charts have different data points they will have issues syncing their tooltips that is why value prop is useful so the charts can sync by checking their value(usually date) in a time series. Anyway, this prop is missing from recharts upstream

@bryanthomaschen
Copy link
Contributor

@bryanthomaschen bryanthomaschen merged commit 2ff8805 into ahrefs:master Jan 13, 2025
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants