From: Michael B. <mi...@ab...> - 2007-03-27 14:05:42
|
Tzeng, Nigel H. skrev: > Michael, > > I don't know if I'm doing it the right way but I created a new interaction that handled the mouse up event and called a passed in callback. I pass back the x,y location of the click (like in the tooltip) and also the x,y values 3 pixels up and left and 3 pixels down and right to have a range to check. My markers are 6 pixels in size so I think that should be good enough. > > Given I have some 100,000 points in my plots I hope someone has a more elegant way than doing a search. I briefly thought of making the markers some kind of button or component to handle mouse events but quickly rejected that thought given the number of points I have. > > I can send a code snippet later when I'm on my dev box. This sounds like a time consuming affair - but it certainly has to be tried ;-) I would very much appreciate any relevant code that you have - thank you ;-) -- Michael Banzon Developer Mobile: +45 3124 2455 Mail: mi...@ab... Web: http://www.abc-tool.com/ intellitory ApS Njalsgade 88, 2. sal DK-2300 København S Denmark |