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
255
Selected item for CalloutLayer
posted

I want to get the currently selected data Point for the currently selected item in a callout layer.

I have found that for a series with markes this can be done with:

----------

        void xamdatachart_PreviewMouseRightButtonDown(object sender, MouseButtonEventArgs e)
        {
          //  throw new NotImplementedException();
            Marker marker = Utilities.GetAncestorFromType(e.OriginalSource as DependencyObject, typeof(Marker), false) as Marker;
            if (marker != null)

........

----------

How can I get the Point related to the current CalloutLayer selection?

Regards Horst

Parents
  • 25665
    Offline posted

    Hello Horst,

    Thank you for contacting Infragistics!

    Instead of the mouse event on the chart itself you will want to try the mouse events on the series, that will have more information about the data than the mouse events for the whole chart.

Reply Children