I have no problems displaying charts on my computer, but my customer is getting the following exception:
It's simply a side-by-side bar chart -- nothing fancy... Any suggestions or ideas on how to fix?
************** Exception Text **************
System.OverflowException: Overflow error.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points, FillMode fillMode)
at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.Polygon(Point[] p)
at Steema.TeeChart.Drawing.Graphics3D.PolygonFour()
at Steema.TeeChart.Drawing.Graphics3D.Cube(Int32 left, Int32 top, Int32 right, Int32 bottom, Int32 z0, Int32 z1, Boolean darkSides)
at Steema.TeeChart.Styles.Bar.DrawBar(Int32 barIndex, Int32 startPos, Int32 endPos)
at Steema.TeeChart.Styles.Bar.DrawValue(Int32 valueIndex)
at Steema.TeeChart.Styles.Series.TryDrawSeries(Series s, Int32 valueIndex)
at Steema.TeeChart.Styles.Series.DrawAllSeriesValue(Int32 valueIndex)
at Steema.TeeChart.Styles.Series.DrawSeries()
at Steema.TeeChart.Chart.DrawAllSeries(Graphics3D g)
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
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)
Stack overflow on customer machine
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Stack overflow on customer machine
Hi jangle,
I'm afraid there's little we can do or say without being able to reproduce the problem here. The only thing I can think of is that the application is not using same version of TeeChart.dll in development and production environments. Have you checked that? If this doesn't help, it would be very helpful if you arranged a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
I'm afraid there's little we can do or say without being able to reproduce the problem here. The only thing I can think of is that the application is not using same version of TeeChart.dll in development and production environments. Have you checked that? If this doesn't help, it would be very helpful if you arranged a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |