Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparancy from 0-10% #78

Closed
Time4u2run opened this issue Jan 26, 2018 · 4 comments
Closed

Transparancy from 0-10% #78

Time4u2run opened this issue Jan 26, 2018 · 4 comments

Comments

@Time4u2run
Copy link

I would like to create a roundSlider starting with "10%" at startAngle 126 reaching until "100%" at endAngle 90. So basically I just want the path-color between 0% to 10% to be transparent. How can I reach this?

@soundar24
Copy link
Owner

@Time4u2run I can't get your exact requirement, based on my understanding I made the below demo:
http://jsfiddle.net/soundar24/yf7fqrs4/1/

If this is not your requirement then update me the additional details (with any screenshot).

@Time4u2run
Copy link
Author

Hello Soundar24,
This is exactly the shape that I meant. Now I want to hide the space between 0% to 10%, so it is completely white and there are no stripes from the circle.

Thank you in advance!

@soundar24
Copy link
Owner

Here I have updated 2 possible solutions for your requirement, check and let me know if you have any concerns on these:

  1. http://jsfiddle.net/soundar24/yf7fqrs4/4/

  2. https://jsfiddle.net/soundar24/1usqdvc9/40/

@soundar24
Copy link
Owner

@Time4u2run This might be after a very long back, but a new update for you.

roundSlider was release with SVG mode support, so your mentioned requirement can be achieved in a simplified way.

https://jsfiddle.net/soundar24/r5jcb1q4/2/

Check the above demo and you can let me know if you have any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants