Hi
I have a context menu for my chart which I display when the user right-clicks anywhere on the chart face by placing code in the chart.mouseup event. That works fine.
If user right-clicks a series on the chart I need to pop up a different menu. I tried to do this by adding an event handler for the lines click event. This code is also correctly called. However directly after this code is called, the chart.mouseup event still fires so I end up with both menus appearing.
Anyone know the right way around this 'problem'? I'm developing in VB.NET.
Many thanks.
Series click 'problem'
Re: Series click 'problem'
Do I feel stupid? Yes. Simply move the code from chart.mouseup to chart.click event. Problem solved.
Re: Series click 'problem'
Hi rossm,
I'm happy to hear that you solved it!
I'm happy to hear that you solved it!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |