Can't bind to 'chart' since it isn't a known property of 'div'.
See original GitHub issueuse demo in html:
<div [chart]="chart"></div>
use version:
"@angular/core": "4.3.2",
"angular-highcharts": "4",
"@types/highcharts": "^5.0.10",
"highcharts": "^6.0.2",
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Can't bind to 'chart' since it isn't a known property of 'div' #69
I just installed angular-highcharts and highcharts, did everything that was documented to start basic chart. But I ma getting this error: ...
Read more >Can't bind to 'options' since it isn't a known property of 'chart'
You can set import the HighChartsModule in the IonicPageModule in which it is used instead of the app.module.ts
Read more >Common errors in Angular: Can't bind to since it isn't a known ...
Ever made an Angular application , opened your console and saw an error message similar to: “Can't bind to ngclass since it isn't...
Read more >Can't bind to 'chartType' since it isn't a known property of
I'm trying to put a pie chart in my page using the mdb, but i receive: Can't bind to 'chartType' since it isn't...
Read more >can't bind to 'options' since it isn't a known property of 'canvas'.
Normally, this error occurs when you missed some imports. Please add these line if missing: import { FormsModule, ReactiveFormsModule } ...
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
Hello, In your angular App if you have submodules and inside that module’s component file if you are trying to implement any chart , you will get above error, but if you import same things and other code as you do in app.module.ts as mentioned in API doc and usage then your problem will get solved.I dont know this is ideal solution or not but I have done this and removed this code from main app.module.ts.
Hope this helps someone.
@th0g0th if you create a repo where this issue is reproducible i can take look at it.