Allow a user to create a line series on a wpf chart by clicking on the chart
问题 I have a WPF chart currently displaying an Area series. I need to allow a user the ability to click on the chart and add a new point for a Line series. The problem I'm having is I can't seem to find a way to convert the point from a MouseButtonEventArgs to a LineDataPoint. private void chtPowerFlowMap_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Point p = e.GetPosition(chtPowerFlowMap); points.Add(p); //Issue here is this will return a point in screen coordinates and