TeeChart 2010 AddPolar Strangeness?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
MikeBeachBum
Newbie
Newbie
Posts: 14
Joined: Fri Jun 22, 2007 12:00 am

TeeChart 2010 AddPolar Strangeness?

Post by MikeBeachBum » Tue Jul 12, 2011 10:20 pm

We "upgraded" to 2010 Pro and code that was working fine in version 8 now acts bizarrely. The code is straightforward C++ Builder 2010:
TIntArr Svids = SatData.Svids;
for ( unsigned int i=0; i<Svids.size(); ++i )
{
const int Svid = Svids;
const int Az = 360 - SatData.Az[Svid];
TColor SvColor = clBlue;
SatAzElSeries->AddPolar( Az, SatData.El[Svid], AnsiString( Svid ), SvColor );

I attached a screenshot to show what we are seeing. Again, version 8 works fine. What are we doing wrong?
Thanks,
Michael
Attachments
SvAzEl.jpg
SvAzEl.jpg (353.88 KiB) Viewed 5695 times

MikeBeachBum
Newbie
Newbie
Posts: 14
Joined: Fri Jun 22, 2007 12:00 am

Re: TeeChart 2010 AddPolar Strangeness?

Post by MikeBeachBum » Thu Jul 14, 2011 2:44 am

To give some more information, if I manually edit the data in the IDE, and just change the magnitude component, it almost looks like it is being scaled for a Smith chart or something. At the poles the locations are close to correct. But at the horizontal axis values they become drastically distorted.
Thanks, Michael

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2010 AddPolar Strangeness?

Post by Yeray » Thu Jul 14, 2011 7:39 am

Hello Michael,

With the code snipped you've posted we can't know the exact data being used to create the chart and the picture doesn't clarify me how would you expect that data to be represented. I suspect that the problem could be with the axes min&max, similar to this discussion, but I'd need more details to be sure.
If after reading the mentioned thread you still have problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply