lasso selection lazarus / 55-TAChart ---------------------------------------------------------------------- apeoperaio · 2019-05-15 08:25 Dear all, is there a way to select points in a TAChart using lasso selection? Have a look here for an example: https://plot.ly/javascript/lasso-selection/ https://onlinehelp.tableau.com/current/pro/desktop/en- us/inspectdata_selectiontools.htm Has TAChart this functionality, someone has already implemented it? Or do you have any suggestion on how to implement it? I think it is a very nice feature. Thank you in advance, Andrea ---------------------------------------------------------------------- wp · 2019-05-15 09:26 Quote from: apeoperaio on May 15, 2019, 10:25:48 amHas TAChart this functionalityNo Quote from: apeoperaio on May 15, 2019, 10:25:48 amsomeone has already implemented it? No Quote from: apeoperaio on May 15, 2019, 10:25:48 amOr do you have any suggestion on how to implement it?Should be based on the ChartTools. Assuming a rectangular selection,  code can be borrowed from the ZoomDragTool. In the MouseUp event of the tool, all data points enclosed by the selection rectangle should be collected, stored in an array or list and passed to an OnSelect event. ---------------------------------------------------------------------- apeoperaio · 2019-05-15 14:50 Thanks @wp. I am already using the rectangular selection but in some cases a more flexible selection (lasso) would be better. I will look around. Thank you. Andrea