Backwards compatability?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
SorenBendtsen
Newbie
Newbie
Posts: 18
Joined: Fri Nov 02, 2007 12:00 am
Contact:

Backwards compatability?

Post by SorenBendtsen » Tue Jun 16, 2009 9:22 am

Hi

I just updated my TeeChart installation from 3.5.3324.17094 to 3.5.3425.20243 and found that it broke a lot of our products!.

In Series class the following signature: public int Add(double x, double? y); has been removed???

What is the correct way of doing the same as the previous signature?

int index = series.Add(x, y);
series.SetNull(index);

Perhaps?

If you are going to take stuff out - please do it in a major release! Not in "bugfix" releases.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Backwards compatability?

Post by Sandra » Tue Jun 16, 2009 10:43 am

Hello SorenBendTsen,
In Series class the following signature: public int Add(double x, double? y); has been removed?
We couldn't found in Series class the signature. Please check that is the exactly number of TeeChartFor .NET version is that you found this. Also, you could explain exactly that you can do with this code or if you prefer, could you send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page. Now you can upload attachments allowed with posts too.


Thanks,
Best Regards,
Sandra Pazos / 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

SorenBendtsen
Newbie
Newbie
Posts: 18
Joined: Fri Nov 02, 2007 12:00 am
Contact:

Re: Backwards compatability?

Post by SorenBendtsen » Tue Jun 16, 2009 12:16 pm

Hi Sandara

I looked at it again - the missing signature is:

public int Add(DateTime x, double? y);

This signature is present in 3.5.3324.17094 (Feb, 2009) but not in 3.5.3425.20243 (Current)

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

Re: Backwards compatability?

Post by Narcís » Tue Jun 16, 2009 1:27 pm

Hi SorenBendtsen,

I've checked this here and I can see the Add method overload you mention with latest maintenance release available. However, notice that 3.5.3324.17094 corresponds to aVS2008 version while 3.5.3425.20243 corresponds to a VS2003. double? values are not supported in VS2003, they are only supported in .NET Framework 2.0 and above.
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

SorenBendtsen
Newbie
Newbie
Posts: 18
Joined: Fri Nov 02, 2007 12:00 am
Contact:

Re: Backwards compatability?

Post by SorenBendtsen » Tue Jun 16, 2009 1:39 pm

Arh - I think the mystery is solved then :D

- Thank you for your time.

/Soren

Post Reply