marker's position don't follow the series when highstock chart is scrolling #8284
Labels
Comments
Hi @sylaince Thank you for reporting this bug. You are right, both markers should follow last hovered point, the same way it works for just one series: https://jsfiddle.net/BlackLabel/fz7cv853/6/ Workaround: Plugin: (function(H) {
H.wrap(H.Pointer.prototype, 'reset', function(proceed, allowMove, delay) {
proceed.call(this, Array.prototype.slice.call(arguments, 1));
if (this.chart.tooltip && allowMove && this.chart.hoverPoints) {
H.each(this.chart.hoverPoints, function(hoverPoint) {
hoverPoint.setState(hoverPoint.state, true);
});
}
})
})(Highcharts) Internal note: |
It's completely resolved, thanks for your awesome work! |
Thank you! Let's keep this open - I think this should be fixed in the core. |
That will be great! |
Internal note: |
pawelfus
added a commit
that referenced
this issue
Jul 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
create a highstock chart with two serieses, when mouse over marker and tooltip will display, don't move the mouse and all the markers are following the movement of the series when chart is scrolling
Actual behaviour
one of the markers didn't follow the movement of its series
screenshot: https://i.stack.imgur.com/L8FJZ.jpg
Live demo with steps to reproduce
https://jsfiddle.net/sylaince/fz7cv853/3/
put your mouse over the top right or bottom right area of the chart would help reproducte the problem.
Product version
Highstock-6.1.0
Affected browser(s)
Chrome 66.0.3359.139
The text was updated successfully, but these errors were encountered: