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

Secondary axis not found #2783

Closed
hafizgohar opened this issue Feb 5, 2024 · 6 comments
Closed

Secondary axis not found #2783

hafizgohar opened this issue Feb 5, 2024 · 6 comments
Labels
Issue: Stale This issue is marked as stale and will close in 14 days Status: Needs More Info ✋ A question or report that needs more info to be addressable

Comments

@hafizgohar
Copy link

I can't find how to make the secondary axis in victory js, Kindly help me to do this
anyone??

@carbonrobot
Copy link
Contributor

The docs have some examples on using multiple axes in Victory

https://commerce.nearform.com/open-source/victory/gallery/multiple-dependent-axes

@carbonrobot carbonrobot added Status: Needs More Info ✋ A question or report that needs more info to be addressable and removed Triage labels Feb 6, 2024
@hafizgohar
Copy link
Author

Yeah I know but if you see it is not depending on the axes it just changes the format of tick values and if i change one side means left the right one becomes the same.
there is no prop of secondary axis as other libraries have.
Kindly do help me because I am stucked on this issue.

@carbonrobot
Copy link
Contributor

By default, all axes under a VictoryChart will be rendered in the same domain, but you can create a custom chart with independent axes by following this example here https://commerce.nearform.com/open-source/victory/guides/custom-charts

@sparklerfish
Copy link

Perhaps dependentAxis is the prop you are looking for?

Copy link
Contributor

This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

@github-actions github-actions bot added the Issue: Stale This issue is marked as stale and will close in 14 days label May 14, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Stale This issue is marked as stale and will close in 14 days Status: Needs More Info ✋ A question or report that needs more info to be addressable
Projects
None yet
Development

No branches or pull requests

3 participants