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]: CategoryBar values are not limited to summing to 1 or 100. #1035

Closed
lcandy2 opened this issue May 8, 2024 · 1 comment · Fixed by #1050
Closed

[Feature]: CategoryBar values are not limited to summing to 1 or 100. #1035

lcandy2 opened this issue May 8, 2024 · 1 comment · Fixed by #1050
Labels
released Type: Enhancement Small enhancement to existing component or feature

Comments

@lcandy2
Copy link
Contributor

lcandy2 commented May 8, 2024

What problem does this feature solve?

Sometimes the benchmarks don't always sum to 100 or 1, they can be greater than 100, or less than 100, which I think is a very common need.

CleanShot 2024-05-08 at 14 28 24@2x

As shown above, the range of the animal's weight(shown as the Chinese character “体重” in the screenshot) should be in a certain range that is normal, and to achieve this, the values sum may be greater than 100.

CleanShot 2024-05-08 at 14 33 13@2x
Another example is the length of the animal (shown in the screenshot as the Chinese character “体斜长”), which may be in a range of up to 14.5, and again, the sum of values may be less than 100 (and more than 1).

What does the proposed API look like?

The API doesn't need to be changed, just don't assume the max sum of values is 100.

Copy link

🎉 This issue has been resolved in version 3.17.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Type: Enhancement Small enhancement to existing component or feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants