highcharts / highcharts

Highcharts JS, the JavaScript charting framework
https://www.highcharts.com
Other
11.87k stars 3.54k forks source link

Boost with two yAxis - point flickers #21176

Closed Basts closed 5 days ago

Basts commented 1 month ago

Expected behaviour

No ghost point 👻

image (5)

Actual behaviour

Boost with two yAxis - point flickers when hovering between series assigned to the different axes

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/tvb3501m/

bm64 commented 1 month ago

Internal note: Used to work correctly in v7.2.1: https://jsfiddle.net/BlackLabel/hdur97zq/ Unable to bisect

hubertkozik commented 2 weeks ago

The bug is related to the fact, that there is only one markerGroup across multiple series with possible multiple axes, which position is set based only on first x-axis and first y-axis.

Related issue: https://github.com/highcharts/highcharts/issues/10464

A related part of code: https://github.com/highcharts/highcharts/blob/b1fcbf788c63f655cb29d1e7f872a353edb1aaf1/ts/Extensions/Boost/BoostChart.ts#L299-L311