Page 1 of 1

System.Overflow exception

Posted: Mon Jun 19, 2006 10:21 pm
by 8128589
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?

Posted: Tue Jun 20, 2006 11:32 am
by narcis
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.

Posted: Tue Jun 20, 2006 4:54 pm
by 8128589
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?

Posted: Wed Jun 21, 2006 8:41 am
by narcis
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.