Page 1 of 1

OverFlow Exception

Posted: Tue Sep 01, 2009 2:18 pm
by 13052783
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

Re: OverFlow Exception

Posted: Tue Sep 01, 2009 2:47 pm
by narcis
Hi Nikhil,

There's a newer TeeChart for .NET v3 release available at the client download area. Can you please check if this solves your problem? If it doesn't, can you please attach a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.