Code Monkey home page Code Monkey logo

Comments (7)

kuncevic avatar kuncevic commented on July 17, 2024 1

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.

valorkin avatar valorkin commented on July 17, 2024

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.

kuncevic avatar kuncevic commented on July 17, 2024

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.

valorkin avatar valorkin commented on July 17, 2024

@Kuncevich can you create a public repo for your sample?

from ng2-charts.

aminebizid avatar aminebizid commented on July 17, 2024

Same error in beta 13

from ng2-charts.

aminebizid avatar aminebizid commented on July 17, 2024

All charts work but not Line

from ng2-charts.

roquevera avatar roquevera commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.