You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Points in bubble series with z = 0 should be handled as any other point when computing the range of z values used for rendering.
Actual behaviour
When plotting multiple bubble series, a series whose minimum z value is 0 causes the computation of the global z scale to fail. This results in points falling out of the range and not being plotted at all.
Hello, @cebamps thanks for reporting this bug as well as a great demo and thorough debugging.
You are right, the issue is connected to the lines you pinpointed.
Expected behaviour
Points in bubble series with z = 0 should be handled as any other point when computing the range of z values used for rendering.
Actual behaviour
When plotting multiple bubble series, a series whose minimum z value is 0 causes the computation of the global
z
scale to fail. This results in points falling out of the range and not being plotted at all.I believe the issue is in those lines: https://github.com/highcharts/highcharts/blob/v10.1.0/ts/Series/Bubble/BubbleSeries.ts#L469-L470 If the running
zMin
orzMax
is 0, the running minimum/maximum is forgotten and replaced with the current series' minimum/maximum in the loop.Live demo with steps to reproduce
https://jsfiddle.net/5ns2ozma/
Product version
Highcharts v10.1.0
Affected browser(s)
Firefox, Chrome
The text was updated successfully, but these errors were encountered: