Skip to content

Comments

Enable configuration of radial scale point label border radius#10293

Merged
etimberg merged 1 commit intochartjs:masterfrom
etimberg:radial-scale-point-label-border-radius
Apr 15, 2022
Merged

Enable configuration of radial scale point label border radius#10293
etimberg merged 1 commit intochartjs:masterfrom
etimberg:radial-scale-point-label-border-radius

Conversation

@etimberg
Copy link
Member

Adds configurable borderRadius to radial scale point labels.

@etimberg etimberg added this to the Version 3.8.0 milestone Apr 11, 2022
const {backdropColor} = optsAtIndex;

if (!isNullOrUndef(backdropColor)) {
const borderRadius = toTRBLCorners(optsAtIndex.borderRadius);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a default value of 0 added for this new setting after line 606, but then the option failed to work. The proxy always showed the default value instead of what was specified. Not sure why that was the case, but leaving no default also worked

@etimberg etimberg requested review from LeeLenaleee and kurkle April 15, 2022 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants