question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'ngx-charts-bar-horizontal-normalized' is not a known element:

See original GitHub issue

Describe the bug
Im trying to get the following example to work but have been unable to do so. https://stackblitz.com/edit/swimlane-normalized-horizontal-bar-chart?embed=1&file=app/app.component.ts

I get a red squiggly line under my html with the following error. It also appears at runtime in the console

'ngx-charts-bar-horizontal-normalized' is not a known element:
1. If 'ngx-charts-bar-horizontal-normalized' is an Angular component, then verify that it is part of this module.
2. If 'ngx-charts-bar-horizontal-normalized' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.ng

To Reproduce See source code of my error here: https://github.com/sam-snarr/ngx-bug

Expected behavior I expect the app to be able to find this package.

Screenshots None Demo See code, if this is not enough I can try and make a demo

ngx-charts version@swimlane/ngx-charts”: “^14.0.0”

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
KevinGuedescommented, Aug 13, 2021

@arid-mangoss @deepthi-shetty @alejandrorp154 guys, i have updated angular CLI to the latest version and it is now working

1reaction
deepthi-shettycommented, Aug 11, 2020

Hi @sam-540, I meant that when i use the code from stackblitz exactly the same way, i get the error i pasted above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

error NG8001: 'ngx-charts-tree-map' is not a known element
For me, the problem was that I declared the "NgxChartsModule" module in my app.module.ts file and then tried to use it in another...
Read more >
swimlane/ngx-charts - Gitter
'ng-template' is not a known element: If 'ng-template' is an Angular component, then verify that it is part of this module.
Read more >
Vertical Bar Chart - ngx-charts - GitBook
Vertical Bar Chart - StackBlitz ... If left undefined, the chart will fit to the parent container size. results ... trim or not...
Read more >
Swimlane Normalized Horizontal Bar Chart - StackBlitz
import { NgxChartsModule } from '@swimlane/. ngx-charts';. import { multi } from './data';. @Component({. selector: 'my-app',. templateUrl: '.
Read more >
How to use ngx-charts in angular application ? - NgDevelop
We will see,. How to install ngx-charts in angular ? Create a vertical bar chart; Create a pie chart, advanced pie chart and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found