NET 2 & NET 3 versions of TChart - differences
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi speedwell,
Ok, I'll add this to the bug list to be reviewed as well.
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 |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi speedwell,
For completeness, possibly you needed to use Clear method before populating series, didn't you?
Thanks in advance.
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);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi speedwell,
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.
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.As you will see from my original code snippet the shape has just been created.
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.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()?
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 |
Instructions - How to post in this forum |
Further differences?
I've uploaded a jpg which can be loaded into a ColorGrid using code such as:
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
Code: Select all
bitMap = new Bitmap("Lock_Up_ColorGrid.jpg");
colorGrid.Bitmap = bitMap;
Further differences?
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.
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.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Further differences?
Hi speedwell,
I could reproduce the issue here and added it (TF02013086) to our bug list to be fixed for next releases.speedwell wrote:I've uploaded a jpg which can be loaded into a ColorGrid using code such as:
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.24039Code: Select all
bitMap = new Bitmap("Lock_Up_ColorGrid.jpg"); colorGrid.Bitmap = bitMap;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Further differences?
Hi speedwell,
Thanks for reporting. I could reproduce this issue here and added it to the defect list (TF02013087) to be fixed.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.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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
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 |
Instructions - How to post in this forum |