himmat
Posts: 28
Joined: Mon Dec 28, 2020 5:36 pm

Changing flag shape dynamically

Hi,

I am trying to dynamically change the shape of my flags: https://jsfiddle.net/doxtry1w/

I'm able to change colors successfully, but I'm having trouble getting the shape to update. Any help would be greatly appreciated
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Changing flag shape dynamically

Hello himmat!

We appreciate you reaching out to us!

I've checked it and I'm afraid that it might be a bug. I've also tried to update this property on the whole series and it didn't work.
Demo: https://jsfiddle.net/BlackLabel/cm6zh231/

If you think that it might be a bug too you can report it on our GitHub, here: https://github.com/highcharts/highchart ... new/choose

Best regards!
Dominik Chudy
Highcharts Developer
himmat
Posts: 28
Joined: Mon Dec 28, 2020 5:36 pm

Re: Changing flag shape dynamically

Ok thank you, I submitted a bug report: https://github.com/highcharts/highcharts/issues/15384

In the meantime, I seem to be able to simulate this functionality by 1) clearing the series data 2) updating flag series data from scratch :)
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Changing flag shape dynamically

Hi again!

Thanks for reporting this issue and for sharing out with us these workarounds. :)

Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Stock”