TailAdmin / free-nextjs-admin-dashboard

TailAdmin is a Next.js and Tailwind CSS free, open-source admin dashboard template. Provides developers with the necessary tools, components, pages to build a full-featured back-end, dashboard, or admin panel for any web project.
https://nextjs-demo.tailadmin.com
MIT License
653 stars 238 forks source link

Some Apex charts not reandering properly #5

Closed dwalker93 closed 7 months ago

dwalker93 commented 7 months ago

I've no idea but only one apex chart rendering perferctly and others are not.

image

giving error as image

then i tried re exporting Apexchart component as like this. image

but still no luck

Coderamrin commented 7 months ago

Hello @dwalker93,

I cloned this repo and installed the dependencies. It seems to work fine here: image

Have you tried to update something then the error occurred or it's like this after the installation? Let me know when you introduced this bug so that I can help you out.

dwalker93 commented 7 months ago

Ok. I double checked again. So problem cause because I updated next to v14. After that only the problem is showing up. If downgrade next again to v13 no errors are occurring. Is there are way to fix this also in v14? thank you

dwalker93 commented 7 months ago

Ok ok found the solution. You have to specify width and height in each Apexchart component. After that works fine.

Coderamrin commented 7 months ago

That's great. Let us know if you find any other issues.