Skip to content

stepSize not working for x axis #9631

Answered by LeeLenaleee
wjadevries asked this question in Q&A
Discussion options

You must be logged in to vote

This is because the stepSize applies to linear axis only and by default the X axis is a category axis.

You can add type: 'linear' to the scale config of the X axis to change its type

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kurkle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #9630 on September 08, 2021 09:32.