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
320 stars 79 forks source link

Support for Angular 13 #171

Closed parse closed 2 years ago

parse commented 2 years ago

As Angular 13 has been released, is it possible to release a new version with updated dependencies? I've been running it using -force flag and it seems to work.

Thanks!

tuuling commented 2 years ago

@junedchhipa could you provide an estimate on when we could get this? Tests are broken on Angular 13 without Ivy support. I'd rather wait to get this package updated - otherwise I would have to stub it in tests.

bgpedersen commented 2 years ago

We tried using --force, but we get a lot of Bad Engine errors. So we are currently blocked untill ng-apexcharts supports Angular 13 with RxJs 7.

We are looking much forward for it 😄 🙏 🙏 🙏

chalkplum commented 2 years ago

any update on this?

jeosebastian555 commented 2 years ago

I have used --force to install the package and it worked. And once I tried the samples provided I was getting some undefined errors. I could resolve it by changing from

 public chartOptions: Partial<ChartOptions>;
 constructor() {
    this.chartOptions = { }
 }

to

public chartOptions:ChartOptions = { 
  //provide all the keys here instead of assigning values in constructor
}

The partial keyword is not required. Also in sample code below code snippet is not used anywhere so I removed it.

@ViewChild("chart") chart: ChartComponent;

Thank you.

bgpedersen commented 2 years ago

Any updates on supporting Angular 13 ?

jmmartinl commented 2 years ago

I have used --force to install the package and it worked. And once I tried the samples provided I was getting some undefined errors. I could resolve it by changing from

 public chartOptions: Partial<ChartOptions>;
 constructor() {
    this.chartOptions = { }
 }

to

public chartOptions:ChartOptions = { 
  //provide all the keys here instead of assigning values in constructor
}

The partial keyword is not required. Also in sample code below code snippet is not used anywhere so I removed it.

@ViewChild("chart") chart: ChartComponent;

Thank you.

This solution works also perfectly for me in Angular 13. Thanks

Jalgoczy commented 2 years ago

Any updates? Is there a new version coming out soon that supports Angular 13?

Thanks.

morbitech1 commented 2 years ago

Also a showstopper for me, would love to see this go through!

contact2vikas commented 2 years ago

Any updates on supporting Angular 13 ?

junedchhipa commented 2 years ago

Released v1.7.0 with Angular 13 support Thanks @damingerdai