Jump to content
Software FX Community

Highlighting a section from the legend causes runtime unhandled exception


mr-marky-mark

Recommended Posts

Hi

I've got a chart with several panes with different readings plotted in each pane (i.e. one series on each pane), and AxisSection's added to the XAxis to highlight regions across the panes. Randomly when I hover over a section item in the legend to highlight it on the chart, i get a runtime unhandled exception (below). This happens even if there is just one pane. Hovering over the sections in the chart doesn't cause the problem, only in the legend. Any ideas?

 Mark

************** Exception Text **************   System.NullReferenceException: Object reference not set to an instance of an object. at ChartFX.NetIEClient.AxisSection.a(Chart A_0, Object A_1, HighlightEventArgs A_2) at ChartFX.NetIEClient.AxisSectionCollection.a(Chart A_0, Int32 A_1, HighlightEventArgs A_2) at ChartFX.NetIEClient.LegendBox.a(Chart A_0, Point A_1, HighlightEventArgs A_2) at ChartFX.NetIEClient.HighlightAttributes.a(Object A_0, IHighlightSource A_1) at ChartFX.NetIEClient.HighlightLegendAttributes.b(IHighlightSource A_0) at ChartFX.NetIEClient.LegendBox.e() at ChartFX.NetIEClient.o.d(EventArgs A_0) 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)   ************** Loaded Assemblies **************   mscorlib   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll   ----------------------------------------   System   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll   ----------------------------------------   ChartFX.NetIEClient   Assembly Version: 7.0.2893.24916   Win32 Version: n/a   CodeBase: < our site url >/chartfx70/download/ChartFX.NetIEClient.dll   ----------------------------------------   System.Windows.Forms   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll   ----------------------------------------   ChartFX.NetIEClient.Base   Assembly Version: 7.0.2893.24781   Win32 Version: n/a   CodeBase: < our site url >/chartfx70/download/ChartFX.NetIEClient.Base.DLL   ----------------------------------------   System.Drawing   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll   ----------------------------------------   Accessibility   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll   ----------------------------------------   ChartFX.NetIEClient.Adornments   Assembly Version: 7.0.2893.24805   Win32 Version: n/a   CodeBase: < our site url >/chartfx70/download/ChartFX.NetIEClient.Adornments.DLL   ----------------------------------------   Microsoft.mshtml   Assembly Version: 7.0.3300.0   Win32 Version: 7.0.3300.0   CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll   ----------------------------------------   System.Configuration   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll   ----------------------------------------   System.Xml   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll   ----------------------------------------   System.Data   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll   ----------------------------------------   System.Design   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll   ----------------------------------------   System.Drawing.Design   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll   ----------------------------------------   System.Web   Assembly Version: 2.0.0.0   Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)   CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll   ----------------------------------------
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...