Xaxis option in Chart make not render the page – Cannot read properties of undefined (reading ‘0’)
I have a component with one chart, which after some apexchart updates started crashing the page in react (blank page), the console gives these errors, it seems to be caused by the xaxis option, because if I remove it, the graph appears and not it crashes the page.
I tried also to write directly the categories but nothing change.