Skip to content

Boost: tooltip doesn't work for multiple columnrange points with the same x #16893

@raf18seb

Description

@raf18seb

Expected behaviour

Tooltip works for all the points

Actual behaviour

Tooltip works only for the first point of all the points that have the same x in data.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/vncadzke/

Product version

Highcharts 9.3.2

Internal note: this flag stops adding points with the same x:

if (enableMouseTracking && !pointTaken[index]) {
pointTaken[index] = true;

But even if we build a tree with all the points, it's still hard to find a correct point because it's looking for x, y or xy position (findNearestPointBy) for low or high value, but the whole column rect that mouse is hovering over needs to be found.
There's no workaround at this moment for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions