-
Notifications
You must be signed in to change notification settings - Fork 12k
Description
Feature Proposal
Following this PR : #8941 Only enable the bar borderRadius at the end of the stacks
I really like what this does although I don't really understand why the bottom part would get a radius only when it has negative value.
Feature Use Case
My use case is the following: a single data set (with several values) without negative value, in an horizontal bar. I just need the bar to look pretty with radius on every corner of the dataset (so just like the yellow example of the PR desc but without negative value).
The borderRadius object syntax works well out of the box until the dataset potentially has empty values, then it becomes a nightmare to handle since every declaration of borderRadius has to check against the others in the dataset before setting (or not) the radius.
Possible Implementation
A borderStartStack bool param that would automatically apply radius to the first non null segment of the stack, wherever its value is negative or not.