-
Notifications
You must be signed in to change notification settings - Fork 465
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
feat: multiple y axes #857
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This would absolutely come in handy |
My project requires two y axes as well -- anything blocking this to land? |
One feature I would love is to have multiple Y axes that are independent. Having checked the Storybook preview, it seems like one Y axis having a much higher number affects the other Y axis: Ideally for me, I would have something like this from MUI Charts: |
I think this is how it should work out of the box. |
I changed “Mar 21” data point of “Sales (blue line)” from 2000 to 15000 in Storybook. |
@scaltunsoy Oh, sorry. I just noticed you're on AreaChart and I am looking at the LineChart. LineChart seems to have the behaviour I'm describing |
pass idx to valueFormatter in tooltip
de6e346
to
9975080
Compare
Thank you @leonlarsson. I think I fixed the issue. It seems like I forgot to pass |
Great! Hoping to see this shipped :) |
hoping to see this implemented soon |
we would love to have this feature made available! |
Hi @scaltunsoy accidentally deleted the beta branch, would you mind creating a new PR? |
Hi @severinlandolt. Here is the new PR: #1028. |
Description
Related issue(s)
#855
#827
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
How has This been tested?
Storybook. 4 new stories has been added in total.
Screenshots (if appropriate):
Multiple y axes:
Y axis on the right side:
The PR fulfills these requirements:
main
branch