Ngx-charts: v13 cannot compile with ivy

Created on 16 Jan 2020  路  3Comments  路  Source: swimlane/ngx-charts

ERROR in No suitable injection token for parameter 'element' of class 'TooltipContentComponent'. no type or decorator

Describe the bug
Getting this error when compiling with "enableIvy": true

Demo
Can't create an ivy project on stackblitz

ngx-charts version
13.0.0, 13.0.1, 13.0.2

Also tried 12.0.x and got the same as this issue: https://github.com/swimlane/ngx-charts/issues/1217

Additional context
Removing enableIvy flag works

Bug

All 3 comments

We're getting exactly the same issue (ngx-charts v13.02, angular v8.2.14).

Have you tried upgrading to angular 9?

Upgrading to Angular 9.0.0-rc.9 has fixed the issue.

Closing since enableIvy flag is an experimental flag anyway.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jvbianchi picture jvbianchi  路  4Comments

NashIlli picture NashIlli  路  3Comments

kakalos12 picture kakalos12  路  4Comments

Hypercubed picture Hypercubed  路  3Comments

faisalnet5 picture faisalnet5  路  3Comments