Skip to content

Showing all tick labels in ordinal bar chart #150

Answered by rokotyan
Owez asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Owez, thanks for choosing Unovis!

You can specify the exact tick values for Axis using the tickValues property. Here's the section in the docs about it: https://unovis.dev/docs/auxiliary/Axis/#set-ticks-explicitly. In your case tickValues should be equal to graphData.map(d => d.x), if I understood your code correctly.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Owez
Comment options

@rokotyan
Comment options

Answer selected by Owez
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
Converted from issue

This discussion was converted from issue #149 on February 28, 2023 17:34.