(jzy3d) How to display tool tip on Scatter effectively?

505 views Asked by At

Currently, we are using jzy3d to display data on 3D chart, but we need to display "tool-tips" when mouse button hovers on a point in Scatter data.

Our solution is currently not cpu friendly, since we get all Scatter data with getProjection method, and iterate over returned array to find matched boundary with mouse point.

Do you know or recommend better and fast way to display tool-tips on scatters`s data?

Thanks in advance.

1

There are 1 answers

1
Martin Pernollet On

I would start by setting the points in a quad map to minimize the number of point to check. I however don't know how efficient is the quad map index phase, and it is maybe not a good idea if your user remain free to rotate the scene whenever he wants.