Ngx-charts: Angular 9 Error: Expecting instance of DOM Element

Created on 21 May 2020  路  8Comments  路  Source: swimlane/ngx-charts

Describe the bug
After Angular 9 Update, whenever mouse is hovered over the graph, getting the error:
Error: Expecting instance of DOM Element.

Screenshots
image

Demo
Provide an online demo (stackblitz, codesandbox, or similar) where the issue can be reproduced

ngx-charts version
14.0.0

Additional context
Getting same error in Chrome & Safari

Bug

All 8 comments

The issue has resolved when I removed aot:true in angular.json.

I have also this issue and I don't want to remove the aot option from my angular.json, any solution for this ?

I have also this issue and I don't want to remove the aot option from my angular.json, any solution for this ?

Need to disable the Ivy in tsconfig.app.json:

  "angularCompilerOptions": {
    "enableIvy": false
  }

I have also this issue and I don't want to remove the aot option from my angular.json, any solution for this ?

Need to disable the Ivy in tsconfig.app.json:

  "angularCompilerOptions": {
    "enableIvy": false
  }

Already disabled because we was having an issue with localize translation :/

Same issue after upgrade to angular 10

Any news about this issue?

same error on version 16.0.0 :/

any update on this

Was this page helpful?
0 / 5 - 0 ratings