Code Monkey home page Code Monkey logo

Comments (6)

crisbeto avatar crisbeto commented on May 19, 2024

If you're referring to just making a regular progressbar, there are plenty of other modules out there already. I made this one since I couldn't find any round ones at the time.

from angular-svg-round-progressbar.

douglaszaltron avatar douglaszaltron commented on May 19, 2024

Yes of course! But a single module would be interesting doing these two types of bar because its was very good. I'm trying to modify it, as you have more experience, you could help me with this? @crisbeto

from angular-svg-round-progressbar.

crisbeto avatar crisbeto commented on May 19, 2024

I think that goes against the whole idea of making small components that do one thing well and you can throw together into a project as you need them. If we started adding all types of progressbars together into the same module it would become pretty bloated.
If you want some inspiration about how to approach regular progress indicators, Angular Material have some pretty nice ones. You can also take a look at their source which is pretty easy to follow.

from angular-svg-round-progressbar.

Sankalp256 avatar Sankalp256 commented on May 19, 2024

Hi Crisbeto
Thanks a lot to you. I struggled a lot on net before I found your plugin for rounded progress bar.It solved my problem.I have one query,I want to have different colors for particular values like if percentage is 0 to 50 % it should be red and after that green.I modified the colors attribute using ? syntax.The color is changing but the problem is when it goes beyond 50 whole color of circle is changed.What I want is below 50, it should stay red and after that it should change.Is it possible because I am not able to do it.Please let me know if this is possible in your plugin.
Thanks in advance.

from angular-svg-round-progressbar.

crisbeto avatar crisbeto commented on May 19, 2024

Hmm that's going to be kind of tricky. You could try some of the following:

  1. Try playing around with gradients. I've talked more about them in #29
  2. This is a bit of a hack, but you could have two progressbars in semcircle mode that come together to form a full circle. Not sure what the outcome of this could be since I've never tried it.

from angular-svg-round-progressbar.

Sankalp256 avatar Sankalp256 commented on May 19, 2024

I will try with gradients.With semi-circle I was thinking but then I i was thinking how would I be able to rotate the second semi-circle upside down.With gradients if it works I can apply three colors because that is actually I need to implement.Will try with your other article.Thanks a lot Cris for this progress bar.It really made my work easy and thanks a lot for replying.

from angular-svg-round-progressbar.

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.