apexcharts / ng-apexcharts

ng-apexcharts is an implementation of apexcharts for angular. It comes with one simple component that enables you to use apexcharts in an angular project.
MIT License
329 stars 81 forks source link

Update library to support Angular v18 compatibility #334

Open tonisiforou opened 5 months ago

tonisiforou commented 5 months ago

Dependency conflicts: Please update the library to enable migration to Angular v18.

YuriiDmytryshyn commented 5 months ago

yes, update please!

ottocoster commented 5 months ago

FYI: Latest update (1.11.0) breaks compatibility with Angular 17:

npm error Found: @angular/common@17.3.11
npm error node_modules/@angular/common
npm error   @angular/common@"^17.0.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@"^18.0.1" from ng-apexcharts@1.11.0
npm error node_modules/ng-apexcharts
npm error   ng-apexcharts@"^1.7.7" from the root project
junedchhipa commented 5 months ago

@damingerdai Can you please confirm if the latest version breaks on angular 17. And if yes, what steps need to be taken?

damingerdai commented 5 months ago

FYI: Latest update (1.11.0) breaks compatibility with Angular 17:

npm error Found: @angular/common@17.3.11
npm error node_modules/@angular/common
npm error   @angular/common@"^17.0.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@"^18.0.1" from ng-apexcharts@1.11.0
npm error node_modules/ng-apexcharts
npm error   ng-apexcharts@"^1.7.7" from the root project

Please update to ng18 or use --force

emanuelsacoman commented 3 months ago

image

How can i use this with Angular 16?

damingerdai commented 3 months ago

image

How can i use this with Angular 16?

Please update to ng18 or ng-apexchart@1.8.0 or ngx-apexchart@v0.3.0 or use --force