Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for .NET9 #550

Open
joadan opened this issue Nov 22, 2024 · 7 comments
Open

Add Support for .NET9 #550

joadan opened this issue Nov 22, 2024 · 7 comments

Comments

@joadan
Copy link
Member

joadan commented Nov 22, 2024

No description provided.

@ShahryarSaljoughi
Copy link

Can I use ApexCharts in a .net 9 project?

@joadan
Copy link
Member Author

joadan commented Jan 20, 2025

Sure, no problem.. it's just that we currently not explicit target .NET 9 in the build.

@danielhedinn
Copy link

I tried out ApexCharts in dotnet 9 and my charts do not render anymore. I get the following error:

apexcharts.common.js:6 Uncaught (in promise) TypeError: t.put is not a function

I tried a few different way to populate the chart, but keep bumping into this. Yet to find a workaround or fix.

@joadan
Copy link
Member Author

joadan commented Jan 20, 2025

Hi,

Make sure you clean the solution and deleted the bin and obj folders, hard refreshed the page.

@danielhedinn
Copy link

danielhedinn commented Jan 20, 2025

Cleaned the solution, removed obj and bin folders, hard refreshed the site. Still the same.
Tried toggling on the debug setting on the chart and it gives no further information.

@joadan
Copy link
Member Author

joadan commented Jan 20, 2025

Do you get the same error if you create a new .NET 9 project and add a chart?
Also this could help, #393

One tip is to check the network tab to see if you have any errors.

@danielhedinn
Copy link

This seems to be a problem on my end. I created an empty dotnet 9 blazor app and added a "dummy" chart. All works fine.
Sorry to bother you with this and thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants