Jump to content
Software FX Community

Select series in Chart when clicking in the Legend Box


User (Legacy)

Recommended Posts

Posted

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

>

>

Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...