You must be logged in to post your query.
Home › Forums › Chart Support › Scatter plot – zoom + pan + select regions on plot
Tagged: custom shapes, Pan, scatter plot, zoom
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!
@ro,
Can you kindly create a JSFiddle with sample data and share it with us along with further briefing referring to the shared example so that we can understand your scenario better and help you out?
—- Manoj Mohan Team CanvasJS
You must be logged in to reply to this topic. Login/Register