Skip to content

Check for missing values before getting radius#4664

Closed
kesmit13 wants to merge 1 commit intochartjs:masterfrom
kesmit13:bubble-missing-values
Closed

Check for missing values before getting radius#4664
kesmit13 wants to merge 1 commit intochartjs:masterfrom
kesmit13:bubble-missing-values

Conversation

@kesmit13
Copy link

The value object is verified before attempting to access the radius. This may result in a slight behavior difference since the original code would not allow a radius of zero. I think that allowing a zero radius is legitimate use though.

@simonbrunel
Copy link
Member

Funny, I'm about to submit a PR to enable scriptable options for the bubble chart (example), fixing this issue at the same time.

@simonbrunel simonbrunel added this to the Version 2.7 milestone Aug 16, 2017
@simonbrunel simonbrunel requested a review from etimberg August 17, 2017 09:22
Copy link
Member

@etimberg etimberg left a comment

Choose a reason for hiding this comment

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

We should probably write a test to cover this case. Other than that I think the code looks OK. @simonbrunel does this merge with the work you've been doing?

@simonbrunel
Copy link
Member

simonbrunel commented Aug 17, 2017

This code doesn't exist anymore in my branch

@simonbrunel
Copy link
Member

simonbrunel commented Aug 17, 2017

PR submitted, fix at line 172.

@simonbrunel simonbrunel removed this from the Version 2.7 milestone Aug 24, 2017
@simonbrunel
Copy link
Member

Fixed in #4671

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.

3 participants