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

How to control ticks on axes? #234

Open
vdddslep opened this issue Apr 10, 2024 · 6 comments
Open

How to control ticks on axes? #234

vdddslep opened this issue Apr 10, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@vdddslep
Copy link

Question

I am migrating from a legacy version of the library and I have a simple task: I need to display only the minimum and maximum values from my data on the axes and nothing more, how could I achieve this?

Example:
Screenshot 2024-04-11 at 00 41 26

@zibs
Copy link
Contributor

zibs commented Apr 11, 2024

You could explore the options here and see if those help!

@vdddslep
Copy link
Author

You could explore the options here and see if those help!

I studied everything carefully and it seems that the new library is not as universal as the old one since it does not provide such flexible configuration of the displayed values on the axes

@keithluchtel
Copy link
Member

You could explore the options here and see if those help!

I studied everything carefully and it seems that the new library is not as universal as the old one since it does not provide such flexible configuration of the displayed values on the axes

This is correct. This new version is a complete rewrite optimized for React Native. With that, we simply haven't had the time to add as extensive of configuration and chart types.

@keithluchtel keithluchtel added the enhancement New feature or request label Apr 12, 2024
@fmmattioni
Copy link

Would love to have the ability to set tick values too, as in https://commerce.nearform.com/open-source/victory/docs/victory-axis#tickvalues

@fmmattioni
Copy link

on the same topic, is there a way to define the scale or scale type? I would like to apply the scale nice effect: https://d3js.org/d3-scale/linear#linear_nice

@masiddee masiddee self-assigned this Apr 18, 2024
@masiddee
Copy link
Contributor

Thanks for sharing! I'm going to spend a few cycles looking into how we might be able to implement this

@masiddee masiddee mentioned this issue May 2, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants