ng-apexcharts icon indicating copy to clipboard operation
ng-apexcharts copied to clipboard

After await rendering doesn't work

Open senzacionale opened this issue 3 years ago • 0 comments

If I am using getChartOptions after await chart is not initialiyed and not visible in UI

const stats = await this.candlesService.getCandlesForSince(3, stats2[0].ticker, 1440, lastYearEpoch, 2000);
this.chartOptions = this.getChartOptions();

If I simply use it before await everthing is working fine. Any idea why? How to rerender chart after await?

senzacionale avatar Jan 12 '21 07:01 senzacionale