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

Double y axis #254

Open
szhau opened this issue May 2, 2024 · 4 comments
Open

Double y axis #254

szhau opened this issue May 2, 2024 · 4 comments

Comments

@szhau
Copy link

szhau commented May 2, 2024

Hello, is there example to add double axis on both left and right y axis?

@zibs
Copy link
Contributor

zibs commented May 3, 2024

Based on https://commerce.nearform.com/open-source/victory-native/cartesian/cartesian-chart#axisoptions it doesn't look like we support this at the moment!

@manyaagarwal
Copy link

@szhau I am trying to create double x-axis atm, is there any workaround that worked for you?

@szhau
Copy link
Author

szhau commented May 27, 2024

I have tried it myself in my forked repo. By continuing what you already developed, help me set up what i need in a short time. The code is not cleaned, but it works for my own purpose on cartesian chart. If you have any suggestion on the style of input, i'm glad to help on the same track while I develope my project. Hope this can be some contribution to your team's great work.
https://github.com/szhau/victory-native-xl

@manyaagarwal
Copy link

thanks!! @szhau

I am currently trying to use renderOutside to get double X-Axis at the bottom. It seems to be working ok so far, just requires managing different scaling and formatting on your own 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

3 participants