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
310 stars 78 forks source link

Support for Angular signal-Inputs #305

Closed Jalgoczy closed 5 months ago

Jalgoczy commented 5 months ago

Hi. I am trying to create reusable charts. I have created components with @Input() decorators and implemented the OnChanges interface for updating the chart-options.

But now with Angular 17.1.0 we have the new InputSignals with OnPush Change-detection. I would like to use these new signals to update the data that my chart is showing. Right now this is not working. I always have the initial value (an empty array).

It would be cool if the chart would update every time the value of the signal changes.