这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@lcandy2

Description

@lcandy2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementSmall enhancement to existing component or featurereleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions