ubaid.tariq Posted July 18, 2008 Report Share Posted July 18, 2008 An unhandled exception occurs during scrolling after zooming it a specific way. how to fix it ? You can find the video producing exception at the following link: https://www.yousendit.com/download/Q01ITkFnUzhlM1JjR0E9PQ Quote Link to comment Share on other sites More sharing options...
Frank Posted July 18, 2008 Report Share Posted July 18, 2008 I watched the video over and over and try to mimic what you were doing. However, I was unable to get the exception. I tried with a default line chart with the same number of series and points you have (3 and 5). Are you using the latest Service Pack from our support site? Are you doing any customizations to this chart either at design-time or in code? Quote Link to comment Share on other sites More sharing options...
ubaid.tariq Posted July 21, 2008 Author Report Share Posted July 21, 2008 I have'nt applied any customization on the chart. just created a new form, added chartFX and em getting that exception. i have downloaded chartFX around 2 months back and its version is 7.0.2893.24916 Following are some exception details: Message: Object reference not set to an instance of an object. Stack Trace: at ChartFX.WinForms.Axis.c(Int32 A_0, Int32 A_1) at ChartFX.WinForms.ag.b(MouseEventArgs A_0) at System.Windows.Forms.Control.WmMouseUp(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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at ChartFX_Sample_App.Program.Main() in E:\Folder To Move\Folder To Move\Test Projects\ChartFX_Sample_App\ChartFX_Sample_App\Program.cs:line 20 Quote Link to comment Share on other sites More sharing options...
ubaid.tariq Posted July 21, 2008 Author Report Share Posted July 21, 2008 I have set the zooming programmatically to generate the desired exception on scrolling. Run the attached solution, click on Zoom (Winform Button) and then scroll, you will get that exception. Also i have noticed that it only occurs when toolbar is set to be visible. Quote Link to comment Share on other sites More sharing options...
Frank Posted July 21, 2008 Report Share Posted July 21, 2008 Even running your program I can not make the exception happen using the same version you have. Please take a look at attached video. Quote Link to comment Share on other sites More sharing options...
ubaid.tariq Posted July 22, 2008 Author Report Share Posted July 22, 2008 Thats because you are not using the same DLL as mine. I am using trial version with a "trial" message at the bottom which makes the size of chart area different from that of yours and i believe you have to zoom it to slightly different parameters to generate the exception. Quote Link to comment Share on other sites More sharing options...
amankazi Posted October 22, 2008 Report Share Posted October 22, 2008 Greetings, The problem exist with chartFx code which is fixed with an hotfix. Please install it from the link below. http://support.softwarefx.com/cfxnet70/update/hotfix/hotfix.htm Thanks, Amaan Kazi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.