NET 2 & NET 3 versions of TChart - differences

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
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 Mar 05, 2008 2:51 pm

Hi speedwell,

Ok, I'll add this to the bug list to be reviewed as well.
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

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 Mar 05, 2008 3:00 pm

Hi speedwell,

For completeness, possibly you needed to use Clear method before populating series, didn't you?

Code: Select all

			shape1.Clear();
			shape1.Add(-50, -50);
			shape1.Add(50, 50); 
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

speedwell
Newbie
Newbie
Posts: 19
Joined: Tue Oct 30, 2007 12:00 am

Post by speedwell » Wed Mar 05, 2008 3:08 pm

My word...slow day in Spain?

As you will see from my original code snippet the shape has just been created.
Are you indicating that by default X Y are now automatically populated with (0, 0) (100, 100) on shape creation - hence the need to call Clear()?

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 Mar 05, 2008 3:20 pm

Hi speedwell,
As you will see from my original code snippet the shape has just been created.
I've seen you didn't use the Clear call in the code you posted but I compared this behaviour with other TeeChart versions and found that it was necessary there.
Are you indicating that by default X Y are now automatically populated with (0, 0) (100, 100) on shape creation - hence the need to call Clear()?
Yes, exactly. Anyway, I'll document the differences in TeeChart versions as well so that it's easier for us to track down when those changes occured.

Please notice that first TeeChart version was the VCL version. From it a COM wrapper was created for the ActiveX version and later on it was ported to the .NET environment for creating TeeChart for .NET.
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

speedwell
Newbie
Newbie
Posts: 19
Joined: Tue Oct 30, 2007 12:00 am

Further differences?

Post by speedwell » Wed May 28, 2008 7:49 am

I've uploaded a jpg which can be loaded into a ColorGrid using code such as:

Code: Select all

bitMap = new Bitmap("Lock_Up_ColorGrid.jpg");
colorGrid.Bitmap = bitMap;
In the latest TChart v3.5.3065.19161 and earlier versions TChart hangs on the Bitmap assignment. This works OK on my "reference" v2.0.2586.24039

speedwell
Newbie
Newbie
Posts: 19
Joined: Tue Oct 30, 2007 12:00 am

Further differences?

Post by speedwell » Wed May 28, 2008 8:02 am

The Shape Global Pen Color property no longer works (v3.5.3065.19161). This can be seen in your "Feature Demo" project by Looking at the "Map GIS" demo, clicking "Edit", then attempting to modify the Border color.

Notice that if you change the "Width", the chart resizes to accomodate the extra pen width, but the colour nor the new line width (nor style changes) are rendered.

I notice that setting up the above global shape properties via code works OK until the chart is resized where the the shape border color is lost.

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

Re: Further differences?

Post by Narcís » Wed May 28, 2008 9:47 am

Hi speedwell,
speedwell wrote:I've uploaded a jpg which can be loaded into a ColorGrid using code such as:

Code: Select all

bitMap = new Bitmap("Lock_Up_ColorGrid.jpg");
colorGrid.Bitmap = bitMap;
In the latest TChart v3.5.3065.19161 and earlier versions TChart hangs on the Bitmap assignment. This works OK on my "reference" v2.0.2586.24039
I could reproduce the issue here and added it (TF02013086) to our bug list to be fixed for next 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

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

Re: Further differences?

Post by Narcís » Wed May 28, 2008 9:58 am

Hi speedwell,
speedwell wrote:The Shape Global Pen Color property no longer works (v3.5.3065.19161). This can be seen in your "Feature Demo" project by Looking at the "Map GIS" demo, clicking "Edit", then attempting to modify the Border color.

Notice that if you change the "Width", the chart resizes to accomodate the extra pen width, but the colour nor the new line width (nor style changes) are rendered.

I notice that setting up the above global shape properties via code works OK until the chart is resized where the the shape border color is lost.
Thanks for reporting. I could reproduce this issue here and added it to the defect list (TF02013087) to be fixed.
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

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

Post by Narcís » Thu Jun 05, 2008 9:57 am

Hi speedwell,

Please notice that I splitted this topic so that a new thread is created for each issue, this makes easier to follow the issues and topics more coherent. New topic can be found here:

http://www.teechart.net/support/viewtopic.php?t=7872
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