Alexander Schörghuber
Results
2
comments of
Alexander Schörghuber
For anyone stumbling accross this, I struggled after migrating from Angular 14 to 18, ng-charts 4 to 6. I could not make the `providers: [provideCharts(withDefaultRegisterables())]` to work. I only have...
... after playing around, I finally found out: in your sub-module just add: ``` import { BaseChartDirective, provideCharts, withDefaultRegisterables } from 'ng2-charts'; @NgModule({ imports: [ BaseChartDirective ], providers: [provideCharts(withDefaultRegisterables())] })...