I'm just upgrading my software from Teechart Pro 8 to TeeChart Pro 2015.
When loading charts generated with TeeChart 8 with PolarSeries in TeeChart 2015 the data points of the PolarSeries are not recognized correctly.
To reproduce the behaviour I generated one polarseries with TeeChart Office 3.0 and saved it as Polar 2007.tee .
Then I opened it with TeeChart Office 4.1.
In the attached picture you can see the difference between opening the same chart with the older and newer version of TeeChart.
When looking at the data it is obvious that the angle and values of the points are not the same anymore.
Best regards
Heinz
Older PolarSeries not compatible with TeeChart 2015
Re: Older PolarSeries not compatible with TeeChart 2015
Hello Heinz,
I've added a ticket in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1318
I've added a ticket in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1318
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Older PolarSeries not compatible with TeeChart 2015
Hello Yeray,
many thanks for your confirmation that it is a bug, but we do have a lot of polar data produced with TeeChart 8.
Is there any chance to get a workaround or a suggestion for modifying the sourcecode?
Would exchanging the current TeePolar-unit with the old one be a solution to be compatible with the old data or would this cause problems in other areas?
There are some properties regarding the axes changed in the PolarSeries which will cause confusion:
F.E. with TeeChart 8 the properties BottomAxis.Logarithmic and BottomAxis.Inverted had no influence on a chart with a PolarSeries and in my projects BottomAxis was always set to Not visible.
But with the current version these properties do affect the chart even if the BottomAxis is not shown. So when in the old charts these properties are checked because they had no negative effect to the resulting chart the charts imported with Teechart 2015 will look strange to the user.
Best regards
Heinz
many thanks for your confirmation that it is a bug, but we do have a lot of polar data produced with TeeChart 8.
Is there any chance to get a workaround or a suggestion for modifying the sourcecode?
Would exchanging the current TeePolar-unit with the old one be a solution to be compatible with the old data or would this cause problems in other areas?
There are some properties regarding the axes changed in the PolarSeries which will cause confusion:
F.E. with TeeChart 8 the properties BottomAxis.Logarithmic and BottomAxis.Inverted had no influence on a chart with a PolarSeries and in my projects BottomAxis was always set to Not visible.
But with the current version these properties do affect the chart even if the BottomAxis is not shown. So when in the old charts these properties are checked because they had no negative effect to the resulting chart the charts imported with Teechart 2015 will look strange to the user.
Best regards
Heinz
Re: Older PolarSeries not compatible with TeeChart 2015
Hello Yeray,
the problem has it's origin in the TeEngine-Unit and the procedure ReadSeriesPoint. Modifying "read the rest of list values" as described in the attachement allows to read old and new polar data,
but I do not yet know how to differentiate reliable if the data is older than v9 or not.
Do you have a suggestion for the if-statement to work properly for all series?
Best regards
Heinz
the problem has it's origin in the TeEngine-Unit and the procedure ReadSeriesPoint. Modifying "read the rest of list values" as described in the attachement allows to read old and new polar data,
but I do not yet know how to differentiate reliable if the data is older than v9 or not.
Do you have a suggestion for the if-statement to work properly for all series?
Best regards
Heinz
Re: Older PolarSeries not compatible with TeeChart 2015
Hi Heinz,
Note you can add your mail to the CC list to be automatically notified when an update arrives.
http://bugs.teechart.net/show_bug.cgi?id=1318
I'm afraid I can't tell you a workaround for it. Substituting the TeePolar unit in TeeChart v2015.16 for the old version shipped with TeeChart v8 doesn't compile.SE_KG wrote:Is there any chance to get a workaround or a suggestion for modifying the sourcecode?
Would exchanging the current TeePolar-unit with the old one be a solution to be compatible with the old data or would this cause problems in other areas?
Note you can add your mail to the CC list to be automatically notified when an update arrives.
http://bugs.teechart.net/show_bug.cgi?id=1318
I'm not sure to understand why these properties where stored if you expected them to do nothing. But anyway, you could force them to have the values you wish after loading your tee files, isn't it? Ie somthing like this:SE_KG wrote:There are some properties regarding the axes changed in the PolarSeries which will cause confusion:
F.E. with TeeChart 8 the properties BottomAxis.Logarithmic and BottomAxis.Inverted had no influence on a chart with a PolarSeries and in my projects BottomAxis was always set to Not visible.
But with the current version these properties do affect the chart even if the BottomAxis is not shown. So when in the old charts these properties are checked because they had no negative effect to the resulting chart the charts imported with Teechart 2015 will look strange to the user.
Code: Select all
if Chart1[0] is TPolarSeries then
begin
Chart1.Axes.Bottom.Logarithmic:=false;
Chart1.Axes.Bottom.Inverted:=false;
end;
I'm not sure that's the best way to fix this but your investigations may help us to find a solution for that ticket, so I'd like to thank you for sharing them.SE_KG wrote:the problem has it's origin in the TeEngine-Unit and the procedure ReadSeriesPoint. Modifying "read the rest of list values" as described in the attachement allows to read old and new polar data,
but I do not yet know how to differentiate reliable if the data is older than v9 or not.
Do you have a suggestion for the if-statement to work properly for all series?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |