TeeChart 2010 AddPolar Strangeness?
Posted: 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
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