jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

highstock upgrade from 10.2.0 to 10.3.3

i am trying to upgrade version to latest and having issue around the annotations.. like showed in video below..
when i try to drag annotation it does not work.. it goes toward left side of the plot.

if i use ordinal:false then everything works...
can you please let me know what is changed around that part ?

https://vimeo.com/796811228

Thanks
jakub.s
Posts: 1229
Joined: Fri Dec 16, 2022 11:45 am

Re: highstock upgrade from 10.2.0 to 10.3.3

Hi,

Thanks for the question.

It seems to work with Highcharts 10.3.3 normally: https://jsfiddle.net/BlackLabel/gdqwjxce/

Could you please reproduce your example in jsfiddle and send me a demo?

Best regards,
Jakub
Jakub
Highcharts Developer
jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

Re: highstock upgrade from 10.2.0 to 10.3.3

Thanks for update. Finally i have some pointers as of why its not working..it because my json has following data...

Code: Select all

{x: 1614229200000, y: null}
{x: 1614315600000, y: null}
{x: 1614574800000, y: null}
{x: 1614661200000, y: null}
{x: 1614747600000, y: null}
{x: 1614834000000, y: null}
{x: 1614920400000, y: null}
{x: 1615179600000, y: null}
{x: 1615266000000, y: 223.85464060541725}
{x: 1615352400000, y: 223.62584122368264}
{x: 1615438800000, y: 223.7326637096853}
{x: 1615525200000, y: 224.00159017141655}
{x: 1615780800000, y: 224.4253274439963}
{x: 1615867200000, y: 224.86697776297027}
{x: 1615953600000, y: 225.51925064766843}
if i remove those null values, then things are working just fine.. in older version i was told that you will need those null values for alignment purpose with other series which might have less data points
is that still true. ?
is that something changed along these lines ?

Thanks
jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

Re: highstock upgrade from 10.2.0 to 10.3.3

i do have demo to show this..
instruction to re-create
1. click on 'add circle' button and add the small circle towards right side of screen
2. try to drag circle around.. this works fine at the moment.
3. click on 'add Ind' button which will add Ichimoku indicator...
4. now try to drag the circle around.. you will see its not possible to re-arrange circle annotation now.. if you try couple of time..it will just go out of the plot area.

https://jsfiddle.net/jyr0tn9g/22/

link to show issue

https://vimeo.com/797448739/115da7eca1
jakub.s
Posts: 1229
Joined: Fri Dec 16, 2022 11:45 am

Re: highstock upgrade from 10.2.0 to 10.3.3

Thanks!

Unfortunately, it seems to be a bug. I reported it for you here: https://github.com/highcharts/highcharts/issues/18475
You can track the progress with this link.

This error does not seem to occur in Highcharts 10.3.2 so until we fix it you can stay with 10.3.2.

Best regards,
Jakub
Jakub
Highcharts Developer
jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

Re: highstock upgrade from 10.2.0 to 10.3.3

Thanks a lot for reply. we just upgraded to version 10.3.2 and its working fine..
jakub.s
Posts: 1229
Joined: Fri Dec 16, 2022 11:45 am

Re: highstock upgrade from 10.2.0 to 10.3.3

I'm glad it works!

We'll try to fix this issue in 10.3.3.

In the meantime let me know if you have any more questions.

Regards,
Jakub
Jakub
Highcharts Developer

Return to “Highcharts Stock”