Only one record using TDBChart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Skaw
Newbie
Newbie
Posts: 5
Joined: Tue Mar 23, 2004 5:00 am
Location: spain
Contact:

Only one record using TDBChart

Post by Skaw » Fri Jan 19, 2007 6:26 pm

Hello,

i would like to see all the records from a datasource into a tdbchart but i only get one record.

Here is the code i use in runtime:

DBChart1.SeriesList[0].DataSource := DataSource1;
DBChart1.SeriesList[0].XLabelsSource := 'Fecha/Hora';
DBChart1.SeriesList[0].YValues.valuesource := 'ired2';


I see all values into my dbgrid but only one into my tdbchart. When i change the position into the dbgrid the value change in the dbchart buy only shown one value.

Could you help me?

Best regards
ilde

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

Post by Narcís » Mon Jan 22, 2007 8:29 am

Hi ilde,

Have you read Tutorial 8 - Database access and seen the examples at All Features\Welcome!\Database Charts in the features demo? You'll find the tutorials and the demo at TeeChart's program group.
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