OverFlow Exception
Posted: Tue Sep 01, 2009 2:18 pm
Hi,
I am using Steema.TeeChart version 3.5.3225.32184
I am adding a series with around 4300 double values to a Chart. Before adding the series to the chart, I have set all the NaN values to null using SetNull() method of the FastLine series. It works fine for some set of values, but for some values I am getting an Overflow Exception with the following stack trace:
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.LineTo(Int32 x, Int32 y)
at Steema.TeeChart.Styles.FastLine.DrawValue(Int32 index)
at Steema.TeeChart.Styles.FastLine.Draw()
at Metrino.Kernos.Graphic.FastLineCustom.Draw()
at Steema.TeeChart.Styles.Series.DrawSeries()
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)
Could you please investigate this and suggest me a solution?
Thanks,
Nikhil Bhanap
I am using Steema.TeeChart version 3.5.3225.32184
I am adding a series with around 4300 double values to a Chart. Before adding the series to the chart, I have set all the NaN values to null using SetNull() method of the FastLine series. It works fine for some set of values, but for some values I am getting an Overflow Exception with the following stack trace:
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.LineTo(Int32 x, Int32 y)
at Steema.TeeChart.Styles.FastLine.DrawValue(Int32 index)
at Steema.TeeChart.Styles.FastLine.Draw()
at Metrino.Kernos.Graphic.FastLineCustom.Draw()
at Steema.TeeChart.Styles.Series.DrawSeries()
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)
Could you please investigate this and suggest me a solution?
Thanks,
Nikhil Bhanap