stepSize not working for x axis #9631
Answered
by
LeeLenaleee
wjadevries
asked this question in
Q&A
-
See also issue #3811 Behavior:
y-axis shows scale with 100 tick markers (as expected). |
Beta Was this translation helpful? Give feedback.
Answered by
LeeLenaleee
Sep 8, 2021
Replies: 1 comment
-
This is because the You can add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kurkle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because the
stepSize
applies to linear axis only and by default the X axis is acategory
axis.You can add
type: 'linear'
to the scale config of the X axis to change its type