OverFlow Exception

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Nikhil
Newbie
Newbie
Posts: 1
Joined: Tue Mar 10, 2009 12:00 am
Contact:

OverFlow Exception

Post by Nikhil » 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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: OverFlow Exception

Post by Narcís » Tue Sep 01, 2009 2:47 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply