Page 1 of 1

Missing Line

Posted: Mon Sep 10, 2007 5:39 pm
by 9244740
Hi,

I'm using TeeChart v7.11 with Borland C++ Builder 2006. I'm trying to create a graph, with the fonction AddXY(X-Value, Y-Value), and sometime, two points are not joined, when they should be, and some other time, everything is ok. To make sure that my data was alright, I save my data in a text file that i imported in Exccel, and everything is all right.

Here an the code that i have to fill my graph

Code: Select all

fX = 0.0f;
increment = 0.002f;

for (iCtr = 0; iCtr < data->Count; iCtr++){
   Graphique->Series[1]->AddXY(fX, data[iCtr]);
   fX += increment;
}
Regards Simon

Posted: Wed Sep 12, 2007 8:17 am
by narcis
Hi Simon,

Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance!