I use the NVD3 library to draw a graph. I use the online manual and for some reason, after updating the data graph + graph, the help pointers remain in the old position.

When I update the data, I do this:
chartData.datum (data) .call (chart);
Everything updates perfectly, except for the position of the tooltip pointers. They seem to be stuck in the old position. I also tried calling it:
chart.update ();
I noticed that when I resize my window and call chart.update (), the pointers are set to the correct position.
Does anyone know how to fix this?
source
share