in

Software FX Community

Discuss and find help for Chart FX, Grid FX and PowerGadgets products.

Chart mouse events

Last post 07-17-2008 8:22 AM by Simonkara. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-17-2008 8:22 AM

    Chart mouse events

    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 ?

    Filed under: , ,
Page 1 of 1 (1 items)
Copyright 2008 Software FX, Inc.