Jump to content
Software FX Community

mr-marky-mark

Members
  • Posts

    3
  • Joined

  • Last visited

mr-marky-mark's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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 ----------------------------------------
  2. Chart.Series.Clear(); Is what I was looking for...
  3. Hi, I have a situation where I bind data to chart, rebind different data to it, then rebind the original (after certain events). When rebinding the original data again, the Y Axis isn't the same as what it was when binding originally. In between this rebinding I'm calling: Chart.Data.Clear();Chart.Panes.Clear();Chart.Points.Clear();Chart.DataSourceSettings.Fields.Clear(); And I'm calling Chart.AxisY.ResetScale() and have AutoScale to true. What else should I call? Chart.Reset() works but it clears all of the formatting properties set earlier also. I've also tried Chart.AxesY.Clear(). Any ideas? Mark
×
×
  • Create New...