Vito
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Vito
-
-
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:
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.
-
Can someone reply as to what is the best way to handle this exception?
Found an artible for internet version using PreRenderer - is there an equivalent in winforms?
-
Hi,
We are getting a very similiar error for our charts. Here is the stack trace:
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)
We are using version 6.2.1486.27906. Is this fixed in a later version?
ChartFX System.OverflowException: Overflow error
in Windows Forms
Posted
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.