Repository navigation
About #347
kudralex35-alt
started this conversation in
Ideas
About
#347
Replies: 1 comment
|
@kudralex35-alt The grouping strategy is too specific and can be handled by the consumer of the library, by adapting the dataset ahead. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
It’s quite common to need to display the composition of a whole, but the number of segments can become too large, while some of them represent only a very small portion of the total. I’ll use VueUiDonut as an example.
What do you think about adding a configuration option like this?
Where:
title - label for the grouped items;
hidePercent - minimum percentage of the total value below which items are grouped into the “Others” category.
It might also make sense to support different grouping strategies, for example:
Which approach do you think would be the most useful or universal?
All reactions