-
Notifications
You must be signed in to change notification settings - Fork 1.5k
JavaScript complains when displaying MultiGraph #8964
Description
Hello.
I have a multigraph displayed in a Web browser using ROOT JS and I have noticed many complains from the JS engine when I'm hovering mouse pointer above the multigraph object. I think the errors come from the function that is supposed to display tooltips because they do not appear as this happens for a histogram object. Here is the stack trace of such an error:
JSRoot.more.js:1502 Uncaught TypeError: Cannot read properties of undefined (reading 'second_x') at SVGGElement.<anonymous> (JSRoot.more.js:1502) at Pn.each (d3.min.js:2) at TGraphPainter.extractTooltip (JSRoot.more.js:1484) at TGraphPainter.processTooltipEvent (JSRoot.more.js:1576) at JSRoot.gpad.js:2960 at Array.forEach (<anonymous>) at TCanvasPainter.TPadPainter.processPadTooltipEvent (JSRoot.gpad.js:2959) at TFramePainter.processFrameTooltipEvent (JSRoot.interactive.js:56) at SVGSVGElement.<anonymous> (d3.min.js:2)
Cheers,