Comments (11)
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.
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.
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.
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.
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.
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.
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.
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.
Would be great if you add back the counting numbers option too. Thanks!
from gaugemeter.
@Mictronics Great! It works!
Thank you!
from gaugemeter.
Fixed.
from gaugemeter.
Related Issues (16)
- Can't see value inside gauge when using Vue.js HOT 12
- Is it possible to update the gauge without "starting from 0" HOT 3
- Add option for counter text font size
- License clarification HOT 3
- How can I manually layout multiple GaugeMeter widgets? HOT 1
- Set to a different value than 100% HOT 2
- How can I change the height & width of the guage? HOT 1
- updating the gauge causes animation to start over HOT 3
- how to sensor update gauge esp32 8266 ? i am new to html HOT 3
- Who to set metter over 230% or over 500 range ? HOT 6
- unable to display float value and for float value meter not updating ..... HOT 4
- Dynamically change percentage without restarting gauge animation HOT 2
- Recreate demo gauge HOT 3
- update gauge using data-used HOT 1
- Problems with running on IOS / Safari Browser HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaugemeter.