Comments (8)
Hi there, what precisely are you trying to do / what behaviour is it you're after?
You might want to look up the total_duration
config option, it might solve your problem. If it doesn't, or you're not sure how to use that, let me know when you're going for.
from timecircles.
Actually I just want to hide the "Days" circle, because my Countdown is always <= 24 hours :)
It does work for the numbers, as mentioned, but the filled out ring of "Hours" is just not correctly filled out. I thought about using the "total_duration" parameter, but I don't think this is intuitive when giving the TimeCircle intentionally a date for countdown within <24 hours (or even more) and then making use of hiding the Day circle... Shouldn't it fill out the first "Hour" circle then automatically based on the given target date to which it should count down?
from timecircles.
I tend to agree that the auto setting should then default to a total duration of a day (That was what it should'v been doing), so I'll look into this. However, I just started something that effectively results in me having far less free time. So I'm not sure when precisely I'll look into this.
from timecircles.
No problem :) My workaround works perfectly for me... and let's keep that Issue here for anyone else running into the same troubles, until it will be fixed some day. Thanks for your prompt support though!
from timecircles.
Hi there, I got around to doing some testing today, and I did find a few things.
I wanted to ask, do you call $('#Countdown').TimeCircles();
More than once? The reason I ask is because normally, the total_duration: "Auto"
only gets processed once (after which it will be converted into a number). So, if you first instantiate TimeCircles and later remove a circle, the result is that it still views "Years" as the total duration.
If you are only calling it once, then I would like to see your code- because it shouldn't be doing that. It should correctly fill the circle (assuming you're using the latest version).
Mind you, I think I'll make it so that it'll recalculate the "Auto" setting upon rebuild.
from timecircles.
I call it only once - the code snippet I posted in my first post is the only thing I have on my page regarding TimeCircles().
But I will try the newest Version first! Probably I got an old version that was somehow conflicting or so... I'll post back.
from timecircles.
This was a problem in an older version, where total duration had not yet
been implemented. Perhaps you didn't have the latest version
Op 13 feb. 2014 13:23 schreef "Oliver" [email protected]:
I call it only once - the code snippet I posted in my first post is the
only thing I have on my page regarding TimeCircles().But I will try the newest Version first! Probably I got an old version
that was somehow conflicting or so... I'll post back.Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-34973250
.
from timecircles.
Yes, seems like - because it works now without my "fix"!
I initially got the version from here: jqueryscript.net
Sorry for raising this issue without having updated to the latest version first - I should have known better... But no idea, why that site is not pointing to the official downloads nor even your website/GitHub project, but instead hosting the (outdated) files themselves.
from timecircles.
Related Issues (20)
- Call a angular function from a timecircle listener
- timecircles cancels a timeout set outside of it
- Counter Clockwise change second color
- How to change the color of canvas during the counterclockwise
- Can not initialize plugin in Bootstrap 4 modal popup
- Text label for when the date/hour/minutes reach singular state
- Circle direction rtl HOT 1
- Radialfade function
- timecircles is not a function HOT 3
- Cpu Performance
- Customized outer and round progress bars
- Start-time from server HOT 2
- Change of color of the text HOT 1
- How to make counter not reset on page refresh
- After changing data-date="2011-01-01 00:00:00" dynamically, how to start timer again with this new updated date. HOT 1
- How to change timecircle to square
- More than 60 minutes countdown HOT 2
- center
- Circle Background Color Option Doesn't Work
- Site Not loading
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 timecircles.