System.Overflow exception

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Gp
Newbie
Newbie
Posts: 43
Joined: Thu Jan 13, 2005 5:00 am

System.Overflow exception

Post by Gp » Mon Jun 19, 2006 10:21 pm

I haven't been able to get a response for over a week from Pro Support for this problem, so I'll try the forums...

I recently downloaded TeeChart.net source code version 2.0.2306.26231.

When I build from source I get the following exception when trying to plot a large negative number:

System.OverflowException: Overflow error. 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.Drawing.Graphics3D.LineTo(Int32 x, Int32 y, Int32 z) at Steema.TeeChart.Styles.FastLine.DrawValue(Int32 index) at Steema.TeeChart.Styles.FastLine.Draw() at Steema.TeeChart.Styles.Series.DrawSeries() at
...

The binary TeeChart.dll is working fine. So, in the offending functions I looked at the binary source using .NET reflector and it is significantly different than the source code provided by Steema. I pasted in the code from Axis.CalcYPosValue() and Axis.CalcXPosValue() to my build, and the exception goes away (not a surprise based on looking at the code).

So, I am very displeased that I have not been able to get a response from Steema.

I am also very displeased that the source code from Steema does not match the corresponding code in the binary from Steema.

My expectation is that when I get source code, it is exactly the same as whatever is being used by the current release. Why is this not so?

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

Post by Narcís » Tue Jun 20, 2006 11:32 am

Hi Gp,

Searching through my sent e-mails I found I replied to your e-mail on 7th June 2006. Didn't you receive my e-mail?

Regarding the differences with the source code release, we are aware of this as a customer already reported the issue. It is an error with CalcXPosValue and CalcYPosValue which we have fixed for future releases.
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

Gp
Newbie
Newbie
Posts: 43
Joined: Thu Jan 13, 2005 5:00 am

Post by Gp » Tue Jun 20, 2006 4:54 pm

Yes, I did recieve a response on the 7th but did not get any response from my emails on the 7th, 9th, and 15th.

So is these the only functions where the code differs? When will a new release be available?

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

Post by Narcís » Wed Jun 21, 2006 8:41 am

Hi Gp,
Yes, I did recieve a response on the 7th but did not get any response from my emails on the 7th, 9th, and 15th.
Sorry but we didn't receive those e-mails, they may have been trapped by your on ours anti-spam filters or firewalls. Would you mind sending them again?
So is these the only functions where the code differs? When will a new release be available?
Yes, only those differences were found. I've just sent you correct Axis.cs version. We are going to arrange a source code release in a few days.
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