Skip to content

Can we have developer defined X and Y tick intervals in XYCharts ? #1200

Answered by williaster
VigneshTrantor asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @VigneshTrantor 👋 , as documented in the @visx/axis docs you can use tickValues if you need more control over ticks than numTicks provides. The tradeoff is that you have to do all of the work for computing them.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VigneshTrantor
Comment options

Answer selected by VigneshTrantor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants