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

Feature Request: Overlap when percent is greater than 100% #140

Open
philmerrell opened this issue Nov 30, 2020 · 4 comments
Open

Feature Request: Overlap when percent is greater than 100% #140

philmerrell opened this issue Nov 30, 2020 · 4 comments

Comments

@philmerrell
Copy link

Wonderful Library!

I'm curious is there is a way to represent a value that is greater than 100% visually. For reference, I'm thinking of something similar to how Apple Watch displays progress:

image

Where the use of gradient and drop shadow give the illusion of depth when overlapping.

@bootsoon
Copy link
Owner

bootsoon commented Dec 1, 2020

Interesting feature. But what about representing a value greater than 200%?

@philmerrell
Copy link
Author

Good question. Taking from the Apple Watch example, values of 200% (or whatever percent) would be represented by circling multiple times around.

So in this case, if the progress was relative to 100% and the value was 200%, then the progress bar would animate in a circle twice. For 300%, it would animate 3 times in a circle, etc. The key visual indication would be the animation.

This would be tough to represent with animations off. With animations off, the percent value would most likely need to be displayed. But I imagine this is the case for values greater than 100% already. I think it is safe to assume people think a complete circle represents 100% unless otherwise indicated.

It might also be useful to create a relative value, meaning the percent that one circle represents. That way if the value was 1000%, it wouldn't need to necessarily animate in a circle 10 times. For instance, if the relative value was 500% and the value was 1000%, the animation would only circle around twice.

Anyway, just some thoughts. Again, great library.

@bootsoon
Copy link
Owner

bootsoon commented Dec 2, 2020

There's no need to show difference between 150% and 250% in circle. If so, we can just show the numeric percentage.

image

@daerogami
Copy link

daerogami commented Nov 1, 2022

There's no need to show difference between 150% and 250% in circle.

I can think of a context where someone would want to recreate an overlap idea similar to the "overshields" ui concept made popular by games like Marathon and Halo. I agree for most cases, once you exceed 100%, the target is passed and metrics may begin to lose meaning. We are currently looking into having the first hundred percent as blue, the subsequent cycle would be red with the blue background, then everything past 200% with the red background. "No need" may be an overstatement.

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

3 participants