Missing Line

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
delastek
Newbie
Newbie
Posts: 1
Joined: Tue Apr 03, 2007 12:00 am

Missing Line

Post by delastek » Mon Sep 10, 2007 5:39 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Sep 12, 2007 8:17 am

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply