-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Describe the bug
I tried to update npx-charts from 22.0.0 to 23.0.1 on my angular 19.2.14 web application.
Now, I have an error ERROR NullInjectorError: NullInjectorError: No provider for EnvironmentInjector! when I move the mouse over a line chart, and the tooltip is not displayed.
Since this version declares compatibility with angular 18, 19 and 20, I think this is a bug.
| "@angular/core": "18.x || 19.x || 20.x", |
To Reproduce
Steps to reproduce the behavior:
- Create a 19.2.14 angular application
- Install npx-charts 23.0.1
- Create a component to display a
- Move the mouse over the chart
- See error in the console:
ERROR NullInjectorError: NullInjectorError: No provider for EnvironmentInjector! - Tooltip is not displayed
Expected behavior
No errors and the tooltip IS displayed.
ngx-charts version
23.0.1