xaxis starts from 'undefined' if I set categories #2799
Unanswered
shatunable
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @junedchhipa ! Thank you for the apexchart - it's great.

Can you please help me fix this issue on the screenshot below? When I set xaxis type= 'category' and categories = ['1', '2' ...], it starts somehow from undefined. If categories is unset it works good starting from 0.
xaxis: {
type: 'category',
categories: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
}
Beta Was this translation helpful? Give feedback.
All reactions