Paul Jaker
Posts: 29
Joined: Wed Apr 07, 2021 8:58 am

The line does not lie on the position during panning

Hello,
when I'm adding the line segment, then pan the chart left/right outside of plot range inserted line, the line will change the position in yAxis. The line visible change the position, probably because one of the points is outside of plot area.
This issue is happen on others segments as well.
It is bug?

Thank you.

Paul
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: The line does not lie on the position during panning

Hello Paul Jaker!

We appreciate you reaching out to us!

I'm not sure if I understand you correctly. Could you reproduce the issue in an online editor that I could work on?

Here you can find a basic template: https://jsfiddle.net/BlackLabel/0pbeym97/

Best regards!
Dominik Chudy
Highcharts Developer
Paul Jaker
Posts: 29
Joined: Wed Apr 07, 2021 8:58 am

Re: The line does not lie on the position during panning

Hi Dominik,

please see issues (GAP, Overlap the candles) in the pictures in the enclosed files .

These issues could be reproduced on any chart.

Demo below,

https://jsfiddle.net/PaulJaker/mrgk5s19/38/
Attachments
Line_OK.JPG
Line_OK.JPG (48.07 KiB) Viewed 508 times
Overlap the candles.JPG
Overlap the candles.JPG (45.93 KiB) Viewed 508 times
GAP.JPG
GAP.JPG (46.48 KiB) Viewed 508 times
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: The line does not lie on the position during panning

Hi again!

The range of axes is changing during panning because the displayed points have different values and axes adjust to that.

I tried to reproduce your issue. So I've created a line and did some panning to the right and left, and the position of the line seems fine. While doing panning the line still sticks with the same points. But if you think that it may be a bug you can report it on our GitHub: https://github.com/highcharts/highcharts/issues

Best regards!
Dominik Chudy
Highcharts Developer
Paul Jaker
Posts: 29
Joined: Wed Apr 07, 2021 8:58 am

Re: The line does not lie on the position during panning

HI Dominic,
I was created the issue bug on github website.
Link: https://github.com/highcharts/highcharts/issues/15674
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: The line does not lie on the position during panning

Hi again!

Thanks for doing that. As far as I see, the bug you've reported is known since 2013 and there was a discussion about it here: https://github.com/highcharts/highcharts/issues/2406

Best regards!
Dominik Chudy
Highcharts Developer
Paul Jaker
Posts: 29
Joined: Wed Apr 07, 2021 8:58 am

Re: The line does not lie on the position during panning

Hi Dominik,
yes, it looks nobody don't know to solve it.
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: The line does not lie on the position during panning

Hi again!

I think that we can close this topic on the forum and talk about the issue on our GitHub. We try not to duplicate topics on our support channels. :)

Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Stock”