Giter Site home page Giter Site logo

Comments (6)

chinmaymk avatar chinmaymk commented on August 11, 2024

Yup, shouldn't be too hard. Will add this soon.

from angular-charts.

chinmaymk avatar chinmaymk commented on August 11, 2024

Issue fixed.

from angular-charts.

cerw avatar cerw commented on August 11, 2024

I have set CSS h/w but still getting Please set height and width for the chart element ?

from angular-charts.

chrisphyre avatar chrisphyre commented on August 11, 2024

I'm in the same boat:

  var totalWidth = element[0].clientWidth;
  var totalHeight = element[0].clientHeight;

always return zero. I suspect that perhaps the link function is being called prior to that portion of the page being rendered, so the values are zero. I've tried applying the width/height properties to an ID, via class, and inline via style="", and in any of the the cases clientWidth and clientHeight still return zero. Will continue investigating.

from angular-charts.

chrisphyre avatar chrisphyre commented on August 11, 2024

I debugged this further, and at least in my case, is related to Angular bootstrap-ui tabs being used. Then I ran into this posting:

#76

from angular-charts.

techno2mahi avatar techno2mahi commented on August 11, 2024

I have looked at the plunker and tried to fork this with AngularJS v1.4.6 (It was using AngularJS v1.2.2) then its not working.

Can any one guide here if it is working on latest angularjs versions

from angular-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.