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

Allow Independent Control of tickValues for Single Axis #2886

Open
2 tasks done
quememo opened this issue Aug 8, 2024 · 0 comments
Open
2 tasks done

Allow Independent Control of tickValues for Single Axis #2886

quememo opened this issue Aug 8, 2024 · 0 comments
Labels
Issue: Accepted The submitted issue has been confirmed by the Victory core team Type: Enhancement ✏️ An enhancement or feature proposal that will be addressed after the next release

Comments

@quememo
Copy link

quememo commented Aug 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Feature Request

I would like to alter the tickValues property (from axisOptions of CartesianChart) of a single axis and keep the other one with the automatic calculation that occurs when I don't use the prop. Currently, if I want to edit the tickValues of a certain axis, for example, the X-axis, I am forced to provide values for the other axis as well, which I don't want. It would be better if the types it can receive follow something like:

[number] | {
 x?: [number]; 
 y?: [number];
}
@quememo quememo added the Type: Enhancement ✏️ An enhancement or feature proposal that will be addressed after the next release label Aug 8, 2024
@carbonrobot carbonrobot added the Issue: Accepted The submitted issue has been confirmed by the Victory core team label Aug 29, 2024
@bryceknz bryceknz assigned bryceknz and unassigned bryceknz Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Accepted The submitted issue has been confirmed by the Victory core team Type: Enhancement ✏️ An enhancement or feature proposal that will be addressed after the next release
Projects
None yet
Development

No branches or pull requests

3 participants