Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Map mouse event coordinates to axis coordinates?
posted

Is there an example of how to do this correctly in the silverlight webchart? The examples I found on this site so far dont apply.

Parents
No Data
Reply
  • 27093
    posted

    Hi,

    Is this closer to what you need?

    xamWebChart1.DataItemMouseEnter +=new DataItemMouseEventHandler

    (xamWebChart1_DataItemMouseEnter);

     .....

    void xamWebChart1_DataItemMouseEnter(object sender, DataItemMouseEventArgs e)

    {

       MessageBox.Show("X:" + e.Position.X.ToString() + "  Y:" + e.Position.Y.ToString());

    }

     

    Sincerely,

    Petar Monov

    Developer Support Engineer,

    Infragistics, Inc

Children