Skip to content

Bubble chart image symbols not scaled when point z value is below minimum #17281

@cebamps

Description

@cebamps

Expected behaviour

When a point in a bubble series is out of the zMin/zMax range for the series and uses an image symbol (symbol: "url(...)"), it should be skipped or displayed at a small size.
Screenshot 2022-05-11 at 09 29 04

Actual behaviour

The image is instead rendered at the wrong size and in the wrong place.
Screenshot 2022-05-11 at 09 29 12

This error also appears in the console:

Unexpected value NaN parsing y attribute.

Combined with #17280, points in bubble charts can easily fall out of range and trigger this bug if one of the series has a minimum z value of 0.

Live demo with steps to reproduce

https://jsfiddle.net/6v2a1ow4/

Product version

Highcharts v10.1.0

Affected browser(s)

Firefox, Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions