Simonkara Posted July 17, 2008 Report Share Posted July 17, 2008 I have difficulties in using chart mouse events.First, I was suprised when I used the MouseDown event on the chart and nothing append when I clicked on my Area SerieAttributes.However, events are fired on my scatter SerieAttributes.The MouseDown event is not fired on the background, axes labels, legend, title...How am i supposed to get theses events ? Which elements of the chart can fire MouseDown events ?Then, I wanted to move my annotations. So I tried something different : I added a MouseDown and MouseUp event handlers on my TextBlock and a MouseMove event handler on the chart.Once I am in my MouseMove event handler how can I get the object I am trying to move and how can I set it to the new position ?I didn't find enougth information in the HitTestResults to retrieve my annotation.What if I wanted to do the same with a CustomGridLine ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.