-
Notifications
You must be signed in to change notification settings - Fork 133
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
Props for semi-circle progressbar #46
Comments
By combining rotation #38 + multiplying the percentage by ~0.6 you should be able to achieve this. |
hmm, yeah you can certainly rotate the progressbar, but I don't think you can actually scale the whole bar just by multiplying by a fraction, because that would just scale the colored path, not the full gray trail - you'd need some other trickery to achieve the partial arc. Also, there's no built-in way to implement the white separators between each 10% segment. This use case is complex enough that you may want to find an alternative, or perhaps look at the source and roll your own. Sorry I can't be of more help! |
Just as a followup - adding the white separators is possible by overlaying content, and I have a demo up at https://codesandbox.io/s/ov22pywr19. Reducing the progressbar to a semi-circle is still not implemented yet, but I may get to it as part of PR #49. |
Making the progressbar only arc ~60% of the full diameter is now possible in v1.2.1 with |
Hi, is there any props to achieve something like this?
The text was updated successfully, but these errors were encountered: