-
Notifications
You must be signed in to change notification settings - Fork 70
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
how to support biaxial Line/Bar chart? #134
Comments
Hey @wulucxy you're correct that this is not supported yet. This type of chart is very confusing and so far we've purposefully not implemented it. That said, we will probably be replacing all Superset charts with |
fwiw, my typical suggestion to stakeholders that want this type of chart is to stack two charts on top of each other, with separate y-axes and matched x-axes. |
@williaster if one chart is on top of another,so how to bind separate events on each chart ? |
interesting thought, here's a codesandbox with a working demo. I think unfortunately you'd have to have one chart render both series, one invisible, and handle the mouse events for both charts. |
Hello @williaster
I have looked around, i have checked the docs, I can't still figure out how to do a biaxial line chart. I have added the axisRight, but it is possible to use different key for that axis ?
I am looking for something that Left Axis is the line chart for 1 value and the Right Axis is a line for other type of value.
the example I wish to achieve is like this:
https://antv.alipay.com/zh-cn/g2/3.x/demo/other/double-axes.html
Thank you.
The text was updated successfully, but these errors were encountered: