I am facing a challenge with my d3 chart where I need to send mouse coordinates from one chart to another.
While triggering the mouse event remotely on the target chart, everything works smoothly up until that point. However, I encounter an issue when trying to obtain the mouse coordinates in the code snippet below:
$chart.on('mousemove', function () {
var mouse = d3.mouse(this);
The values for the mouse always return as NaN. This may be due to the mouse being over another container. Is there a workaround to retrieve these mouse coordinates within this context?