Skip to content

chart.bubbleZExtremes not cleared on series.remove() #17486

Description

@raf18seb

Expected behaviour

Added series to look the same as on init.

Actual behaviour

The series with 3 points looks OK on init. Then I'm adding a fourth point and the Z extremes are changed.
Then I'm removing the series and I'm adding the initial series with original 3 points - the bubbles are different sizes because chart.bubbleZExtremes wasn't cleared when the series with 4 points was removed.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/8chdkqjw/

Product version

10.2.0

Workaround: clear chart.bubbleZExtremes before adding a new series (it will be recalculated): https://jsfiddle.net/BlackLabel/37qr9bau/

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions