SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


Hello. I’d like to be able to double-click on a point, present a prompt to the user to enter in an X and Y value, and then set that point to the new value.

I can handle the prompt but I’m not too sure the best way to setup a double-click on a point to trigger a command.

Any help would be appreciated. Thanks!

  • You must to post comments
Best Answer

Hi Greg,

You need to use our Hit-Test API if you want to be notified when a data-point is clicked

WPF Chart Hit-Test API

Best regards

  • You must to post comments

I’m trying this, but for whatever reason, the method isn’t being called:

 EllipsePointMarker pointMarker = new EllipsePointMarker()
                Fill = plotInfo.SeriesColor,
                Stroke = Colors.White,
                StrokeThickness = 1,
                Width = 8,
                Height = 8

            pointMarker.MouseDoubleClick += PointMarker_MouseDoubleClick;

And then the method:

 private void PointMarker_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        Console.WriteLine("DOUBLE CLICK");
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.