Hi, I think I have found a bug in the function toggleDOM. I have tuned off the legend, and cursor and am using a custom legend to toggle series on and off with the setSeries fucntion. In this case the line let pt = cursorOnePt ? cursorPts[0] : cursorPts[i] can result in pt = null which is then used in elTrans causing the exception. I resolved this in my code with a check for null but maybe you have a better idea or I am using the function incorrectly.
Hi, I think I have found a bug in the function
toggleDOM
. I have tuned off the legend, and cursor and am using a custom legend to toggle series on and off with thesetSeries
fucntion. In this case the linelet pt = cursorOnePt ? cursorPts[0] : cursorPts[i]
can result inpt = null
which is then used in elTrans causing the exception. I resolved this in my code with a check for null but maybe you have a better idea or I am using the function incorrectly.