User (Legacy) Posted June 3, 2003 Report Posted June 3, 2003 Hi, if the user is clicking on an entry in the Legend Box I want to select the appropriate series in the chart. Is there a way to do this? Thanks and Greetings Thorsten
User (Legacy) Posted June 3, 2003 Author Report Posted June 3, 2003 Ok I see the other postings. But if I use the MouseDown Event I did not get the right indexes. If I had 2 series in the legend box e.Point is for the first series 0 and for the second 4. If I had 3 series the first is 0 the second 3 and the third is 6 and so on. ? Thanks "Thorsten" <mail@thorsten-bopp.de> schrieb im Newsbeitrag news:wMQz67bKDHA.2848@webserver1.softwarefx.com... > Hi, > > if the user is clicking on an entry in the Legend Box I want to select the > appropriate series in the chart. > Is there a way to do this? > > Thanks and Greetings > Thorsten > >
Software FX Posted June 4, 2003 Report Posted June 4, 2003 The indexes are only valid when the HitType is HitType.Value or HitType.Between, otherwise you need to call HitTest to obtain the element under the cursor. We don't do HitTest in all the mouse events for performance reasons. -- FP Software FX, Inc.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.