kottenator/jquery-circle-progress

Drawing circle at the start of the arc

Closed this issue · 4 comments

I would like to do something like this using your plugin, basically just to draw circle of certain radius at the start of the arc.
untitled-1
Is it possible with your plugin? I've browsed source code, but I'm unsure where to put this kind of stuff, my guess is that I add extra method like drawStartCircle in drawArc function and extra property for startCircleRadius in the prototype. Would do you think?

Ok, I've implemented this, but in a pretty hacky way. I had to increase canvas height by circleRadius and add it to y coordinate in arc calls in drawArc, drawEmptyArc functions. It works for me, but I have suspicion I've broke something elsewhere, like image fill or something like that. Maybe you would add this as a feature in next release?

Hi!

First of all, thank you for using my circles! ;)

As I understand, the difference between your and default behaviour that you have a big dot at the beginning. IMO this is not very popular behaviour so I have doubts about adding it to the standard options.

However, I have made a snippet for you that implements correct work with all types of fills and other options. You may find it here.

I thank you for your snippet, my way of doing it was more crude )

Hello, how if I'd like put the dot on the end?

Thanks before.