ERROR Can't bind to 'options' since it isn't a known property of 'nvd3'
See original GitHub issuewhen I use it in my angular seed at the app.component.html level, everything seems to be working. I did some refactoring as application grew, and has multiple modules now. If I use <nvd3 [options]="options" [data]="data"></nvd3>
in any of the feature modules, I get the error
Unhandled Promise rejection: Template parse errors:
Can't bind to 'options' since it isn't a known property of 'nvd3'. ("
<md-card>
<nvd3 [ERROR ->][options]="options" [data]="data"></nvd3>
</md-card>
"): HomeComponent@23:10
Can't bind to 'data' since it isn't a known property of 'nvd3'. ("
<md-card>
<nvd3 [options]="options" [ERROR ->][data]="data"></nvd3>
</md-card>
"): HomeComponent@23:30
'nvd3' is not a known element:
1. If 'nvd3' is an Angular component, then verify that it is part of this module.
2. If 'nvd3' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("
<md-card>
nvd3 is declared in declarations in the app.module level. I want it to be declared at the app module level, so that all my feature modules can use it.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:10
Top Results From Across the Web
d3.js - 'nvd3' is not a known element: 1. If 'nvd3' is an Angular ...
i am getting below error when i try to run the page. below is the error. NodeInvocationException: Template parse errors: Can't bind to...
Read more >ng2-nvd3 - Bountysource
Unhandled Promise rejection: Template parse errors: Can't bind to 'options' since it isn't a known property of 'nvd3'. (" <md-card> <nvd3 [ERROR ...
Read more >Angular-nvD3 Quick start - GitHub Pages
Basic usage. Inject nvd3 directive into angular module, set up some chart options and push some data to the controller:
Read more >angular/flex-layout@13.0.0-beta.36 - You.com
... react app typescript Can't bind to 'formGroup' since it isn't a known property of 'form git@github.com: Permission denied (publickey). fatal: Could not...
Read more >Hosting Angular App On Clouding.io - Code Handbook
You'll be using ng2-nvd3 library for creating bar charts in Angular ... need to bind the chart data and chart options to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
had the same problem during testing, you need to Import the Module in your test:
I get this error when unit testing using Jasmine. Any one else have this problem?