NET 2 & NET 3 versions of TChart - differences
NET 2 & NET 3 versions of TChart - differences
Bugs?
Font faces and sizes on Chart title / legend / axis / annotations are different between NET 2 & NET 3 versions
The "Shape" positioning is wrong - although I noticed the same problem with a recent version of the TeeChartNET2VSNET2005 and refer http://www.teechart.net/support/viewtop ... e+position
which still doesn't appear to be fixed
The "Shape" transparency doesn’t appear to work anymore
Series points which should be spheres with a gradient have an empty square within.
Chart Paging behavior is different (I've never really found that it worked consistently though)
Using Vista Business, Visual Studio 2005 SP1, .NET 2.0.50727 and TeeChartPro v2.0.2586.24039 as the reference version compared with Feb 08 release of TeeChartNET3VSNET2005
Font faces and sizes on Chart title / legend / axis / annotations are different between NET 2 & NET 3 versions
The "Shape" positioning is wrong - although I noticed the same problem with a recent version of the TeeChartNET2VSNET2005 and refer http://www.teechart.net/support/viewtop ... e+position
which still doesn't appear to be fixed
The "Shape" transparency doesn’t appear to work anymore
Series points which should be spheres with a gradient have an empty square within.
Chart Paging behavior is different (I've never really found that it worked consistently though)
Using Vista Business, Visual Studio 2005 SP1, .NET 2.0.50727 and TeeChartPro v2.0.2586.24039 as the reference version compared with Feb 08 release of TeeChartNET3VSNET2005
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi speedwell,
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Some defaul fonts settings may have been changed between v2 and v3.Font faces and sizes on Chart title / legend / axis / annotations are different between NET 2 & NET 3 versions
As I posted on that thread this issue was fixed.The "Shape" positioning is wrong - although I noticed the same problem with a recent version of the TeeChartNET2VSNET2005 and refer http://www.teechart.net/support/viewtop ... e+position
which still doesn't appear to be fixed
Could you please send us a simple example project we can run "as-is" to reproduce the issues here? We will try to debug the project in v2 and v3.The "Shape" transparency doesn’t appear to work anymore
Series points which should be spheres with a gradient have an empty square within.
Which is the exact problem you are having with paging?Chart Paging behavior is different (I've never really found that it worked consistently though)
Please notice that there are much newer releases of TeeChart for .NET v2 as announced here.Using Vista Business, Visual Studio 2005 SP1, .NET 2.0.50727 and TeeChartPro v2.0.2586.24039 as the reference version compared with Feb 08 release of TeeChartNET3VSNET2005
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
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 |
Instructions - How to post in this forum |
I have uploaded bitmap comparisons of a chart loaded identically comparing my Net2 reference with the latest Net3 version which better demonstrates the differences - I wish I had time to build a standalone version for you!
Regarding Shape positioning I believe said problem still exists - unless the mechanism for positioning a shape has changed.
Regarding Shape transparency / point spheres - see uploaded bitmaps
When programmatically switching the chart paging on and off the chart no longer refreshes - until the mouse is moved over the chart window for example.
Hope this helps...
Regarding Shape positioning I believe said problem still exists - unless the mechanism for positioning a shape has changed.
Regarding Shape transparency / point spheres - see uploaded bitmaps
When programmatically switching the chart paging on and off the chart no longer refreshes - until the mouse is moved over the chart window for example.
Hope this helps...
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi speedwell,
Thanks for the files.
Both issues work fine for me here using code below in v2 and v3.
Are you changing pages as I posted in my first reply on this thread?
Thanks in advance.
Thanks for the files.
If it's not possible to send an example project could you please export the v2 chart to a .ten file and we will compare it here with v2 and v3?I have uploaded bitmap comparisons of a chart loaded identically comparing my Net2 reference with the latest Net3 version which better demonstrates the differences - I wish I had time to build a standalone version for you!
Have you tried this using latest TeeChart for .NET v2 and v3 versions available at the client download area?Regarding Shape positioning I believe said problem still exists - unless the mechanism for positioning a shape has changed.
Regarding Shape transparency / point spheres - see uploaded bitmaps
Both issues work fine for me here using code below in v2 and v3.
Code: Select all
Steema.TeeChart.Styles.Shape shape1 = new Steema.TeeChart.Styles.Shape(tChart1.Chart);
shape1.X0 = -50;
shape1.Y0 = 0;
shape1.X1 = 50;
shape1.Y1 = 20;
shape1.Brush.Transparency = 50;
When programmatically switching the chart paging on and off the chart no longer refreshes - until the mouse is moved over the chart window for example.
Are you changing pages as I posted in my first reply on this thread?
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 |
Instructions - How to post in this forum |
NET2 .ten chart uploaded for your perusal
Re-testing with the latest NET2 and NET3 versions fail on both the shape transparency and position, only NET3 fails with the series point display problem. Apologies on the Paging front - because the paging didn't work reliably the paging implementation had been re-written which manually adjusts the x-axis to mimic the same behavior - however the act of updating the Axes.Bottom.Minimum and Maximum does not cause chart refresh in the same manner in NET3.
Regarding the shape composition, it is done as follows:
Steema.TeeChart.Styles.Shape oBubble = new Steema.TeeChart.Styles.Shape();
oBubble.BeginUpdate();
try
{
oBubble.Title = String.Format("~{0}km", DistanceInMetres);
oBubble.Color = Colour;
oBubble.Pen.Transparency = C_PEN_TRANSPARENCY;
oBubble.Brush.Transparency = C_BRUSH_TRANSPARENCY;
oBubble.Add(StationCoord.X - Radius, StationCoord.Y - Radius);
oBubble.Add(StationCoord.X + Radius, StationCoord.Y + Radius);
}
finally
{
oBubble.EndUpdate();
}
Chart.Series.Add(oBubble);
Re-testing with the latest NET2 and NET3 versions fail on both the shape transparency and position, only NET3 fails with the series point display problem. Apologies on the Paging front - because the paging didn't work reliably the paging implementation had been re-written which manually adjusts the x-axis to mimic the same behavior - however the act of updating the Axes.Bottom.Minimum and Maximum does not cause chart refresh in the same manner in NET3.
Regarding the shape composition, it is done as follows:
Steema.TeeChart.Styles.Shape oBubble = new Steema.TeeChart.Styles.Shape();
oBubble.BeginUpdate();
try
{
oBubble.Title = String.Format("~{0}km", DistanceInMetres);
oBubble.Color = Colour;
oBubble.Pen.Transparency = C_PEN_TRANSPARENCY;
oBubble.Brush.Transparency = C_BRUSH_TRANSPARENCY;
oBubble.Add(StationCoord.X - Radius, StationCoord.Y - Radius);
oBubble.Add(StationCoord.X + Radius, StationCoord.Y + Radius);
}
finally
{
oBubble.EndUpdate();
}
Chart.Series.Add(oBubble);
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi speedwell,
Thanks for the .ten file. Below there's what I got loading it using latest v2 and v3 releases.
NET2SpeedwellChart.ten loaded with v2:
NET2SpeedwellChart.ten loaded with v3:
As you can see, the main difference is that shapes are rendered different in both versions. I've added this issue (TF02012873) to our defect list to be reviewed for next releases. However, they are possitioned correctly. Could you also please try positioning shape series as in the code snippet I posted yesterday?
Regarding axes adjusting, could you please give us some more details about the exact problem?
Thanks in advance.
Thanks for the .ten file. Below there's what I got loading it using latest v2 and v3 releases.
NET2SpeedwellChart.ten loaded with v2:
NET2SpeedwellChart.ten loaded with v3:
As you can see, the main difference is that shapes are rendered different in both versions. I've added this issue (TF02012873) to our defect list to be reviewed for next releases. However, they are possitioned correctly. Could you also please try positioning shape series as in the code snippet I posted yesterday?
Regarding axes adjusting, could you please give us some more details about the exact problem?
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 |
Instructions - How to post in this forum |
Hi,
I have modified code as suggested and this fixes both the shape positioning and transparency problem - evidently the Shape.Add() overload I was using previously no longer works!
Regarding the axes adjustment - I have a chart with several fast line series on it, the bottom axes is a DateTime axes. In simple terms by reducing the date range being displayed by adjusting the Chart.Axes.Bottom.Minimum and Maximum this successfully adjusts what is displayed. To return to the original display - showing everything, calling Chart.axes.Bottom.Automatic = true does not refresh the chart. Moving the mouse over the chart will cause a refresh.
Hope this helps
I have modified code as suggested and this fixes both the shape positioning and transparency problem - evidently the Shape.Add() overload I was using previously no longer works!
Regarding the axes adjustment - I have a chart with several fast line series on it, the bottom axes is a DateTime axes. In simple terms by reducing the date range being displayed by adjusting the Chart.Axes.Bottom.Minimum and Maximum this successfully adjusts what is displayed. To return to the original display - showing everything, calling Chart.axes.Bottom.Automatic = true does not refresh the chart. Moving the mouse over the chart will cause a refresh.
Hope this helps
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi speedwell,
Code below works fine for me here also using latest releases of both v2 and v3.I have modified code as suggested and this fixes both the shape positioning and transparency problem - evidently the Shape.Add() overload I was using previously no longer works!
Code: Select all
Steema.TeeChart.Styles.Shape shape1 = new Steema.TeeChart.Styles.Shape(tChart1.Chart);
shape1.Add(0, 0);
shape1.Add(100, 100);
Thanks for the info. In that case you can use the code below. I've checked that the Refresh call is not necessary in v2 so I'll add this to the bug list to be reviewed for next releases.Regarding the axes adjustment - I have a chart with several fast line series on it, the bottom axes is a DateTime axes. In simple terms by reducing the date range being displayed by adjusting the Chart.Axes.Bottom.Minimum and Maximum this successfully adjusts what is displayed. To return to the original display - showing everything, calling Chart.axes.Bottom.Automatic = true does not refresh the chart. Moving the mouse over the chart will cause a refresh.
Code: Select all
tChart1.Axes.Bottom.Automatic = true;
tChart1.Refresh();
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,
Thanks in advance.
Are you using latest TeeChart for .NET v3 maintenance release from 28th February?I cannot concur with the Add overload - this does not work for me!
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 |
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,
Thanks for the information. Would you be so kind to arrange a simple example project we can run "as-is" to reproduce shape series positioning issue here?
Thanks in advance.
Thanks for the information. Would you be so kind to arrange a simple example project we can run "as-is" to reproduce shape series positioning issue here?
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 |
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,
Thanks for the information.
This casually worked because 0,0 and 100,100 are the default values of a shape series when creating it. However, the code below doesn't work fine for me here neither using v2 nor with v3.
You need to set up shape series as I told you before.
Thanks for the information.
This casually worked because 0,0 and 100,100 are the default values of a shape series when creating it. However, the code below doesn't work fine for me here neither using v2 nor with v3.
Code: Select all
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 |