Stack overflow on customer machine
Posted: Thu Feb 11, 2010 4:08 pm
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)
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)