Vito Posted October 2, 2008 Report Share Posted October 2, 2008 Hi, We receive occasional errors in our ChartFX component that cause a System.OverflowException. This causes the whole chart to fail, with a large red cross. We use version: 6.2.1342.0. Are there any updates that fix this problem? This seems similiar but is for Pareto chart: http://support.softwarefx.com/ShowArticle.aspx?product=CfxNet62&Source=http://support.softwarefx.com/kb/700/2/062.htm There is another article with how to handle this for internet charts (http://www.eggheadcafe.com/community/aspnet/16/15927/issue-resolved-.aspx ). Is there an equivalent way of handling this for Windows Forms? Any help appreciated. Quote Link to comment Share on other sites More sharing options...
Frank Posted October 2, 2008 Report Share Posted October 2, 2008 Unfourtunatelly this information is not enough for us to determine the cause of the problem. Please post a sample app that reproduces the problem. Quote Link to comment Share on other sites More sharing options...
Vito Posted October 2, 2008 Author Report Share Posted October 2, 2008 We cannot reproduce the problem, but this hapepns occasionally to user's of out application. Here is the stack trace: 2008-09-30 13:52:26,968 ERROR MarketMaker.UI.MaMaDockingWindow - Unhandled exception propogated to DockingWindow level: [GUI]System.OverflowException: Overflow error. at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2) at SoftwareFX.ChartFX.Base.GraphicsEx.DrawLine(Pen pen, Int32 x, Int32 y, Int32 x2, Int32 y2) at SoftwareFX.ChartFX.GalleryObj.Line.3J(PaintMarkBase 0Y0, Int32 0Y1, Int32 0Y2, Int32 0Y3, Int32 0Y4, Int32 0Y5) at SoftwareFX.ChartFX.GalleryObj.Line.3K(PaintMarkBase 0Y6, Int32 0Y7, Int32 0Y8, Int32 0Y9, Int32 0YA) at SoftwareFX.ChartFX.GalleryObj.Line.2Z(Int32 0XW, PaintMarkBase 0XX, Int32& 0XY, Int32& 0XZ) at SoftwareFX.ChartFX.1N.MQ(Int32& 29B, Int32& 29C) at SoftwareFX.ChartFX.1N.MP() at SoftwareFX.ChartFX.ChartCore.E6(1N 1OG, Rectangle& 1OH, Int32& 1OI) at SoftwareFX.ChartFX.ChartCore.E5(PaintBar 1OD, IGraphicsEx 1OE, Rectangle& 1OF) at SoftwareFX.ChartFX.0V.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(Message& m) 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) AS I can;t reproduce I am making a workaround to catch the exception and rebuild the charts from scratch. 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.