Page 1 of 1

Only one record using TDBChart

Posted: Fri Jan 19, 2007 6:26 pm
by 9336589
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

Posted: Mon Jan 22, 2007 8:29 am
by narcis
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.