rred81
Posts: 3
Joined: Thu Feb 02, 2023 2:32 pm

Moving annotations bug

I'm having problems with moving annotations on stock charts under the following conditions.
- A technical indicator is set for the chart (I have tested various SMA and EMA indicators I don't know if the other classes of indicator show the same behaviour)
- The chart zoom level is set to show only a subset of data - for example showing the last 1 year of data

I have been able to replicate this behaviour with the stock-tools-gui example:

https://jsfiddle.net/gh/get/library/pur ... -tools-gui

In order to replicate:
- Add a technical indicator - I used a 20 day SMA
- Click on the 1Y zoom view
- Draw a simple annotation - I used a simple line segment
- Try to move the annotation end points after it has been drawn - I have found that this doesn't track the pointer under these conditions.

I have replicated this with current versions of both Firefox and Chrome.

I think this must be a bug in the Highcharts API but if there is a setting I'm missing which fixes this I would be grateful to find it.
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Moving annotations bug

Hi,

Welcome to our forum and thanks for contacting us with your problem!

I think this is a bug. You can report it on our official GitHub repository here: https://github.com/highcharts/highchart ... new/choose

If you do it, the development team will take care of the issue, and you can expect updates and possible workarounds there.

Do not hesitate to contact us in the future
Best regards!
Dawid Draguła
Highcharts Developer
rred81
Posts: 3
Joined: Thu Feb 02, 2023 2:32 pm

Re: Moving annotations bug

Thanks for confirmation that this is a bug - I'll reported it through the Githib bug tracker in the below ticket:

https://github.com/highcharts/highcharts/issues/18459


Thanks for your help
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Moving annotations bug

You're welcome and thanks for reporting it!

In case of any further questions, feel free to contact us again.
Regards!
Dawid Draguła
Highcharts Developer
rred81
Posts: 3
Joined: Thu Feb 02, 2023 2:32 pm

Re: Moving annotations bug

In case anyone else is having the same issue the development team identified a regression in v10.3.3 of the Highstock JS code - downgrading to v10.3.2 fixes the issue for me.
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Moving annotations bug

Thanks for the clarification!
Kind regards
Dawid Draguła
Highcharts Developer

Return to “Highcharts Stock”