MouseEnter event question
Posted: Tue Oct 16, 2012 6:22 pm
Hello,
I've read a few threads on similar questions, but I'm still confused. I'm having trouble using the MouseEnter events when I have multiple series that overlap. Specifically, if I have an Area series and Points series and they have a common data point, when I mouse over that point the MouseEnter event is only triggered for the series that was added first, and which is plotted behind the other series.
For example if I add the Area series first, then add the Points series, the Points will be plotted on top, but only the Area MouseEnter event is triggered.
In another thread, it was suggested that every series at that point would trigger its MouseEnter event, but in my case with the Area and Points series, this doesn't seem to be true. The top series event does not fire at all. (I think the person in the other thread was using multiple line series).
In a different thread, I also saw a suggestion to use the chart MouseMove event together with Series.Clicked. I looks like I could make this would work if necessary, but it would be more convenient if I could handle it with the series events. I will be dynamically plotting and removing many series, and each will have it's own specific mouse behavior so I'd rather not have to use Chart events.
In summary, I would like to have the Points series plotted on top of the Area series then use the Points MouseEnter event. Anything I can do?
I'm using TeeChart .NET 4.1.2011.10190
Thanks,
Gregg
I've read a few threads on similar questions, but I'm still confused. I'm having trouble using the MouseEnter events when I have multiple series that overlap. Specifically, if I have an Area series and Points series and they have a common data point, when I mouse over that point the MouseEnter event is only triggered for the series that was added first, and which is plotted behind the other series.
For example if I add the Area series first, then add the Points series, the Points will be plotted on top, but only the Area MouseEnter event is triggered.
In another thread, it was suggested that every series at that point would trigger its MouseEnter event, but in my case with the Area and Points series, this doesn't seem to be true. The top series event does not fire at all. (I think the person in the other thread was using multiple line series).
In a different thread, I also saw a suggestion to use the chart MouseMove event together with Series.Clicked. I looks like I could make this would work if necessary, but it would be more convenient if I could handle it with the series events. I will be dynamically plotting and removing many series, and each will have it's own specific mouse behavior so I'd rather not have to use Chart events.
In summary, I would like to have the Points series plotted on top of the Area series then use the Points MouseEnter event. Anything I can do?
I'm using TeeChart .NET 4.1.2011.10190
Thanks,
Gregg