Comments (7)
Just replicated my example here https://plnkr.co/edit/62p48myINDYssKubSkPC?p=preview
The chart is not displaying once app is loaded and no errors shown in console.
Once you move the mouse over the page you will get the exact errors I mentioned above.
Just pop the console in full page https://embed.plnkr.co/62p48myINDYssKubSkPC/ then move mouse over the page and you will see what I am talking about.
I think the app not able to catch chart.js reference for some reason.
P.S
This file https://www.dropbox.com/s/znmcqiz6lb9q8in/angular2-webpack.zip?dl=0 contained example using angular2-webpack
skeleton that produce same errors. If you get it locally npm install
npm run
you will see same errors.
from ng2-charts.
beta.11 was not working property, see here (valor-software/ngx-bootstrap#305)
beta.12 already released
ng2-bootstrap will be updated today
from ng2-charts.
Yes my bad, I just put a wrong title. I tried with beta.12. I think somehow ng2-charts
cant detect the reference on charts.js
in my case. I wasn't using the whole module. I just copy-pasted charts.ts
+ line-chart-demo.ts
+ line-chart-demo.html
in to angular2-webpack
skeleton trying to make it work with the latest angular2. Also I didn't use any files from ng2-charts
that referenced ng2-bootstrap
If you check the link with a code I posted above you will see what I am taking about.
from ng2-charts.
@Kuncevich can you create a public repo for your sample?
from ng2-charts.
Same error in beta 13
from ng2-charts.
All charts work but not Line
from ng2-charts.
I am having same problem using angular 2.0.0-beta.14. ng2-charts installed from github repo (not npm repo)
from ng2-charts.
Related Issues (20)
- Support of rxjs v7 in v2.x HOT 1
- chartClick interface eventEmitter interface is incorrect HOT 1
- Can't create a Clustered Stacked Bar Chart as expected HOT 1
- Doughnut chart: Provide option to add text in center with v5.x HOT 1
- Add support for Angular 17 HOT 17
- Unable to resolve dependency issue HOT 6
- 217387
- Error when I try to set position: 'external' to the tooltip of a doughnut chart HOT 1
- Module '"ng2-charts"' has no exported member 'provideCharts', 'withDefaultRegisterables'. HOT 5
- "bar" is not a registered controller HOT 2
- Module '"ng2-charts"' has no exported member in v6 HOT 1
- V6 Annotation Typing issues HOT 3
- Integrate into Angular 17 project without standalone components HOT 1
- Could not resolve dependency Angular 16 @angular/[email protected] HOT 1
- v6 with Angular 17, cant bind properties HOT 1
- The plugin chartjs-plugin-zoom doesn't wotk anymore with 6.0.0 HOT 1
- Path "[...]/node_modules/ng2-charts/schematics/src/collection.json" does not exist. HOT 3
- is there an example for non-standalone mode? HOT 1
- Chart components registration errors HOT 1
- Issue with ng-charts compatibility with the latest TypeScript version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng2-charts.