apexcharts/ng-apexcharts

Support for Angular 13

Closed this issue ยท 10 comments

parse commented

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!

@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.

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 ๐Ÿ˜„ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™

any update on this?

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.

Any updates on supporting Angular 13 ?

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

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

Thanks.

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

Any updates on supporting Angular 13 ?

Released v1.7.0 with Angular 13 support
Thanks @damingerdai