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

Angular not supporting realtime chart #46

Open richardmtp opened 4 years ago

richardmtp commented 4 years ago

Could you please consider realtime chart for angular framework

HannesJo0139 commented 3 years ago

Works the same way as for apexcharts js

shreyasssk commented 3 years ago

@HannesJo0139 could you please guide me on how to display realtime data, I'm stuck

HannesJo0139 commented 3 years ago

@shreyasssk Well I'm not really having the time to setup a minimum example for you. But you basically just setup the chart and then use the method updateSeries() in an interval to apply new data. Where are you stuck exactly?

HannesJo0139 commented 3 years ago

Fine if you found another solution. Just for your info and for any readers: What you say is not true. I am using real-time plots in angular the same way it is told in the apexcharts docs. It is definitely working.

Since you made it in js (react) I suspect you just had some bad typings.

mohit-sojitra commented 2 years ago

Could you please upload any snap shot of the solution so we can understand?

HannesJo0139 commented 2 years ago

Unfortunately I cannot provide the whole project since it is not public and I am not the only contributor. Best I can do is give you the component as it is completely written by me. The method updateChart() is propably where you want to start.

metrics-view.zip

marcioggs commented 11 months ago

Possibly related to: https://github.com/apexcharts/ng-apexcharts/issues/274 Check the first comment there for a possible solution.