Hi all,
Can anyone please help me make a graph in CBuilder4. I am taking the x axis (meters) and the y axis (time in seconds) from a MS Access data base. This is just a practice database and chart that I am doing at home. I am trying to learn graphs for a part of my project, but havn't yet been able to get it. I am tryiong to make a line graph.

==============================================

void __fastcall TForm1::Button1Click(TObject *Sender)
{
Table1->Open();
Table1->First();
int index=0;
while(!Table1->Eof)
{
Series1->AddX( Table1->FieldByName("num1")->Value, " ",clBlue);
Table1->Next();
}
Table1->Close();
}
==============================================
Any suggestions would be much appreciated.
Thanks
Colin.