Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When boost mode enable, last point is not accessible via hover #18856

Closed
Slayug opened this issue Apr 20, 2023 · 1 comment · Fixed by #18877
Closed

When boost mode enable, last point is not accessible via hover #18856

Slayug opened this issue Apr 20, 2023 · 1 comment · Fixed by #18877
Assignees

Comments

@Slayug
Copy link
Contributor

Slayug commented Apr 20, 2023

Expected behaviour

Last point of the series must be highlight when the mouse is at the right, only work when boost mode is disabled:
image

Actual behaviour

When boost mode is enabled we have to zoom to reach the last point while hovering the series.
image

Live demo with steps to reproduce

Look after boostThreshold param
http://jsfiddle.net/7zg9L5n0/1/

Product version

Highcharts JS v10.3.3 (2023-01-20)

Affected browser(s)

Tested on Chrome and Firefox

@karolkolodziej
Copy link
Contributor

Hi @Slayug and thank you for reporting the issue.

Internal note:
It looks like the result has the wrong i property which influences the point returned by the getPoint.
Needs further investigation.

function wrapSeriesSearchPoint(
this: Series,
proceed: Function
): (Point|undefined) {
const result = proceed.apply(this, [].slice.call(arguments, 1));
if (this.boost && result) {
return this.boost.getPoint(result);
}
return result;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants