-
Notifications
You must be signed in to change notification settings - Fork 987
Description
Using WinForms and .net framework. Not sure what happened, but now when I right or left click in the plot window I get an exception. Here's the report:
************** Exception Text **************
System.MissingMethodException: Method not found: 'System.String System.String.Format(System.IFormatProvider, System.String, System.Object)'.
at OxyPlot.StringHelper.<>c__DisplayClass1_0.b__0(Match match)
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
at OxyPlot.StringHelper.Format(IFormatProvider provider, String formatString, Object item, Object[] values)
at OxyPlot.Series.DataPointSeries.GetNearestPoint(ScreenPoint point, Boolean interpolate)
at OxyPlot.Series.LineSeries.GetNearestPoint(ScreenPoint point, Boolean interpolate)
at OxyPlot.Series.Series.HitTestOverride(HitTestArguments args)
at OxyPlot.Model.d__9.MoveNext()
at OxyPlot.Model.HandleMouseDown(Object sender, OxyMouseDownEventArgs e)
at OxyPlot.ControllerBase.HandleMouseDown(IView view, OxyMouseDownEventArgs args)
at OxyPlot.WindowsForms.PlotView.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This happens with 2.1.2 and 2.2.0. It only happens after I have data in the window. With no data it doesn't happen. I tried unbinding the mouse down events and it still happens.