Hi,
I’m planning on using the scatter plot with about 2 million data points. I see there’s an ability to zoom and pan into the plot.
However, my use case is being able to also select two areas on the plot (rectangles – using mouse drag, similar to when zoom region is selected).
Currently I believe, using mouse events, I can draw additional stuff using context, however that might dirty the plot canvas. So, instead I was planning on adding 2 additional canvas layers on top of the plot. The issue I see with that is that it might restrict event handling on the plot canvas underneath, and I’ll have to manually account the zoom/pan on the 2 additional layers.
Are there any recommended ways to go about this?
Thanks!