GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Clicking in Plot window causes crash · Issue #2142 · oxyplot/oxyplot

Clicking in Plot window causes crash #2142

New issue
Copy link
New issue
Copy link
Open
Open
Clicking in Plot window causes crash#2142
Copy link

Description

@photogphred
photogphred
opened on Apr 29, 2025
Issue body actions

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.