Open richardmtp opened 4 years ago
Works the same way as for apexcharts js
@HannesJo0139 could you please guide me on how to display realtime data, I'm stuck
@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?
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.
Could you please upload any snap shot of the solution so we can understand?
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.
Possibly related to: https://github.com/apexcharts/ng-apexcharts/issues/274 Check the first comment there for a possible solution.
Could you please consider realtime chart for angular framework