Giter VIP home page Giter VIP logo

Comments (4)

rendro avatar rendro commented on August 14, 2024

Hi,

I will look into it, and I will fix the bug with the infinite loop. But I'm not sure about the best behavior. Should I just prevent an update while any animation, or trigger the new one. If I trigger the new one, the bar jumps to the end value of the first animation and then starts to animate to the updated value. Chaining would be another option… What do you think is the best option here @Brian0720 ?

from easy-pie-chart.

Brian0720 avatar Brian0720 commented on August 14, 2024

Hi,
I am using your work for my project here and for that I greatly appreciate your work. Two thumbs up for ya!! In my project, there might be an update taking place any minute, so I think it will greatly help me with my project if whenever I need to update the bar, it updates it to the right spot from where it left off. So if it needs to jumps to the end value of the first animation and starts to animate to the updated value, that's totally fine.

from easy-pie-chart.

Brian0720 avatar Brian0720 commented on August 14, 2024

Hows it coming along?

from easy-pie-chart.

rendro avatar rendro commented on August 14, 2024

I just pushed to the master branch with the fix to avoid multiple animations. The current one is stopped and the new one starts if you call the update method during an animation. The new animations starts from the end point of the previous animation even if this endpoint is not reached yet.

from easy-pie-chart.

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.