Giter VIP home page Giter VIP logo

Comments (11)

Mictronics avatar Mictronics commented on May 31, 2024 1

Would be great if you add back the counting numbers option too. Thanks!

Check last commit. Counting should work now depending on the given options.
Feedback welcome. Close PR when you thinks it's fixed.

from gaugemeter.

Mictronics avatar Mictronics commented on May 31, 2024

See doc.html:

<div class="GaugeMeter" id="GaugeMeter_81" data-percent="20" data-append="%" data-size="150" data-theme="Red-Gold-Green" data-animate_gauge_colors=true data-animate_text_colors=true></div>
<div class="GaugeMeter" id="GaugeMeter_82" data-percent="40" data-append="%" data-size="150" data-theme="Red-Gold-Green" data-animate_gauge_colors=true data-animate_text_colors=true></div>
<div class="GaugeMeter" id="GaugeMeter_83" data-percent="60" data-append="%" data-size="150" data-theme="Red-Gold-Green" data-animate_gauge_colors=true data-animate_text_colors=true></div>
<div class="GaugeMeter" id="GaugeMeter_84" data-percent="80" data-append="%" data-size="150" data-theme="Red-Gold-Green" data-animate_gauge_colors=true data-animate_text_colors=true></div>
<div class="GaugeMeter" id="GaugeMeter_85" data-percent="100" data-append="%" data-size="150" data-theme="Red-Gold-Green" data-animate_gauge_colors=true data-animate_text_colors=true></div>

You may provide the tag line so I can debug myself.

from gaugemeter.

GianmariaPrevitera avatar GianmariaPrevitera commented on May 31, 2024

in your doc.html the circe animation appears (I downloaded a fresh one version to make sure that it was not an importing problem) but the text animation (like in the original version) does not. it appears as a static value and not "changing" the value growing until it reaches the final value. (I'm talking numbers only, the circle animation works fine!)
no errors appears in the console
Thanks for your job.

from gaugemeter.

Mictronics avatar Mictronics commented on May 31, 2024

Understood. What you expect is an up counting value, like the circle is growing until its final value, right?
In that case your expectation is wrong. data-animate_text_colors=true means that the text color is changing with the circle color. e.g. in the demo, red for low numbers and green for high numbers.
There is no animation of the value itself, like slow counting etc.

from gaugemeter.

GianmariaPrevitera avatar GianmariaPrevitera commented on May 31, 2024

Tnx, so how can I obtain the intended animation like it was in the origial version? is it a function removed for other purposes?

from gaugemeter.

Mictronics avatar Mictronics commented on May 31, 2024

In fact, I'm not aware that there was such function in the original code. As far as I remember I have nothing deleted on purpose. Need to check...

from gaugemeter.

GianmariaPrevitera avatar GianmariaPrevitera commented on May 31, 2024

if you need you can find old version that has the function that I talking about in that site:
https://www.jqueryscript.net/demo/Customizable-Animated-jQuery-HTML5-Gauge-Meter-Plugin/
it should be near the code you originally used, but I cannot use it for my purpose (the javascript present a bug that creare a double circle). I hope being useful enought.

from gaugemeter.

Mictronics avatar Mictronics commented on May 31, 2024

Found an old code version. Seems I have changed the code significantly. The numerical value indication is generated and drawn prior to the arc/circle. To restore the numerical animation the code has to be changed in a way that the value is generated and drawn together with the arc/circle in each animation step.
Fully understand the problem, will look into that.

from gaugemeter.

webprom avatar webprom commented on May 31, 2024

Would be great if you add back the counting numbers option too. Thanks!

from gaugemeter.

webprom avatar webprom commented on May 31, 2024

@Mictronics Great! It works!
Thank you!

from gaugemeter.

Mictronics avatar Mictronics commented on May 31, 2024

Fixed.

from gaugemeter.

Related Issues (16)

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.