Only one record using TDBChart
Posted: 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
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