blacklabel / custom_events

Custom events plugin for Highcharts by Black Label
http://blacklabel.github.io/custom_events/
Other
62 stars 50 forks source link

Uncaught TypeError: Cannot read properties of undefined (reading 'series') #159

Closed TobyMellor closed 1 year ago

TobyMellor commented 2 years ago

Getting this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'series')

Referring to this line: https://github.com/blacklabel/custom_events/blob/master/js/customEvents.js#L377

This is fairly tricky to reproduce, but it seems to appear when clicking on a graph while the points are being loaded/animated in.

Reverting to 3.0.5 seems to fix the issue, the release prior to this segment of code being introduced.

mfilipiec commented 1 year ago

I couldn't reproduce this error, but in the line you pointed out, it would be good to additionally check if elemObj exist, so I'll add it just in case.

ajaygangarde commented 7 months ago

If you use Drag and Drop scattered point and the drag point at that moment it failed