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

Angular 18 support and chart.js interop in v6.0.1 #1981

Open
vzakharov-rxnt opened this issue Jun 21, 2024 · 4 comments
Open

Angular 18 support and chart.js interop in v6.0.1 #1981

vzakharov-rxnt opened this issue Jun 21, 2024 · 4 comments

Comments

@vzakharov-rxnt
Copy link

vzakharov-rxnt commented Jun 21, 2024

Reproduction of the problem

I am unable to build a project using ng-charts when Angular is bumped to 18 from 17.
Here is the error:
image

As you can see, the error is inside ng-charts.provider.d.ts and is not related to my code in any way.

There is no such thing as chart.js/dist/types:
image

There is a file called utils.d.ts under here: chart.js\types\
image

Have you tried using Angular 18 with ng-charts? It seems that a bump from 17->18 was the most breaking, we had other issues as well.

@vzakharov-rxnt
Copy link
Author

vzakharov-rxnt commented Jun 21, 2024

This version seems to have no such issues (but ofc we have other build issues from other vendors).

Means I cannot test/confirm the functionality.

"ng2-charts": "5.0.4",

@angelika
Copy link

Any plans to update deps to match Angular 18?

@focTZi
Copy link

focTZi commented Sep 25, 2024

Any plans to update deps to match Angular 18?

Can you clearify where you are need matching deps? I'm using ng2-charts with angular 18 because the peerDependencies are using >=17.0.0 and not ^ or ~.

@angelika
Copy link

angelika commented Oct 2, 2024

You are right, my bad. I must have been using an old version when updating to a newer angular version.

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