xieziyu/ngx-echarts

Chart is not loading data on route change

troncomputers opened this issue · 0 comments

Hi.
I have charts on my home page and at first load (or refresh) all is good, but when I go to other pages and go back to home, no bars are visible.

Optimo365 — no charts on route change

Latest ngx-echarts ver.

Angular CLI: 12.2.5
Node: 14.17.3
Package Manager: npm 6.14.15
OS: win32 x64

Angular: 12.2.5
... animations, cdk, cli, common, compiler, compiler-cli, core 
... forms, material, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------      
@angular-devkit/architect       0.1202.5
@angular-devkit/build-angular   12.2.5
@angular-devkit/core            12.2.5
@angular-devkit/schematics      12.2.5
@angular/flex-layout            12.0.0-beta.34
@schematics/angular             12.2.5
rxjs                            6.6.7
typescript                      4.2.4