Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
gibran-shah
Contributor
Contributor

How can I select data point with a rectangular region on my picasso.js scatter plot?

Hello,

Please have a look at this example of picasso.js's lassoing ability on scatter plots: https://jsfiddle.net/3sbvwpxa/

I need to implement something similar except with rectangular shaped selections (so the user clicks and drags the mouse across a region on the chart and a rectangle is draw from the click point to the release point). Something like this might work: https://observablehq.com/@cbt1/picasso-js-range-brushing ... except it has to work on a scatter plot, not a bar chart. Also, ideally the user would be able to click and drag inside the chart, not on the axes.

Can anyone tell me of this is possible or not?

Thanks!

Labels (1)
0 Replies