dogyeong
Posts: 2
Joined: Thu Sep 16, 2021 1:37 am

error when mouseOver, mouseOut event

Hi,
i have chart with volume column and add mouse events to change color on hover.
when mouse move on column, console shows error message.
Uncaught TypeError: Cannot read properties of null (reading 'linkedParent')
example) https://jsfiddle.net/t34jufxe/

please help how to resolve this
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: error when mouseOver, mouseOut event

Hello dogyeong,

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

It is obviously a bug and I have created a related issue on github: https://github.com/highcharts/highcharts/issues/16366
The only possible workaround that I can think of right now, is to simply change series color with css hover.
Demo: https://jsfiddle.net/BlackLabel/oyseg1cf/

Let me know if that workaround is satisfactory for you and feel free to ask any further questions.
Best regards!
Mateusz Bernacik
Highcharts Developer
dogyeong
Posts: 2
Joined: Thu Sep 16, 2021 1:37 am

Re: error when mouseOver, mouseOut event

mateusz.b wrote: Mon Sep 20, 2021 12:39 pm Hello dogyeong,

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

It is obviously a bug and I have created a related issue on github: https://github.com/highcharts/highcharts/issues/16366
The only possible workaround that I can think of right now, is to simply change series color with css hover.
Demo: https://jsfiddle.net/BlackLabel/oyseg1cf/

Let me know if that workaround is satisfactory for you and feel free to ask any further questions.
Best regards!
It works, thanks a lot!
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: error when mouseOver, mouseOut event

You're welcome! In case of any further questions, feel free to contact us again.
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”