Hi,
I have this:
Form1.Series8.YValues.ValueSource := 'mesh201;mesh202;mesh203;mesh204';
but the chart is displaying those 4 field values repeated for every record in the dataset.
If there are 15 records then 60 points are displayed in the chart.
Hoping for an explanation ...
Barry
Peculiar 'Single Record' behavior
Hi Barry,
I cannot reproduce the problem here.
Which TeeChart Pro version are you using ?
Can you see any difference between your example and the "single record" example included into the Demo features project under : All Features -> Welcome ! -> DataBase Charts -> Single Record ?
I cannot reproduce the problem here.
Which TeeChart Pro version are you using ?
Can you see any difference between your example and the "single record" example included into the Demo features project under : All Features -> Welcome ! -> DataBase Charts -> Single Record ?
Pep Jorge
http://support.steema.com
http://support.steema.com
Peculiar 'Single Record' behavior
Sorry for the bother, this problem was related to other coding issues...
Thanks,
Barry
Thanks,
Barry
Last edited by bcmiller on Mon Jan 16, 2006 2:11 am, edited 1 time in total.
Peculiar 'Single Record' behavior
I'm afraid this came back to haunt me.
I've created a set of Delphi project files if you want to have a look.
I'm using D2005 with TeeChart Pro v7.05.
Haven't noticed any particular difference between my code and your Single Record Demo code.
I'm sure it's something extremely simple that I'm overlooking.
Barry
I've created a set of Delphi project files if you want to have a look.
I'm using D2005 with TeeChart Pro v7.05.
Haven't noticed any particular difference between my code and your Single Record Demo code.
I'm sure it's something extremely simple that I'm overlooking.
Barry
Last edited by bcmiller on Mon Jan 16, 2006 2:10 am, edited 1 time in total.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Barry,
Yes please, post them at our public newsgroups: http://www.steema.net/steema.public.attachments.
Thanks in advance.
Yes please, post them at our public newsgroups: http://www.steema.net/steema.public.attachments.
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 |
Instructions - How to post in this forum |
Peculiar 'Single Record' behavior
The files have been uploaded with the Subject heading:
'Single Record Problem'.
Thanks,
Barry
'Single Record Problem'.
Thanks,
Barry
Hi Barry,
it seems that in your project you've selected the "dataset" as DataSource
instead of "Single record", I've just open your project, edit the Chart, go
to the DataSource tab and change it to "Single record", select the recordset , click "Apply" and all seems to work fine, I only see the four fields for each record.
I've posted the modified project into the attachments newsgroup. Could you please test it ?
it seems that in your project you've selected the "dataset" as DataSource
instead of "Single record", I've just open your project, edit the Chart, go
to the DataSource tab and change it to "Single record", select the recordset , click "Apply" and all seems to work fine, I only see the four fields for each record.
I've posted the modified project into the attachments newsgroup. Could you please test it ?
Pep Jorge
http://support.steema.com
http://support.steema.com
Peculiar 'Single Record' behavior
Great. Problem cleared up.
I didn't notice that a series in 'single record' mode needs to look at a TDatasource not the clientdataset. I was setting SeriesX.Datasource := cds at run-time.
I assume from all this that 'single record' mode requires a TDatasource component.
Thanks for your attention!
Barry
I didn't notice that a series in 'single record' mode needs to look at a TDatasource not the clientdataset. I was setting SeriesX.Datasource := cds at run-time.
I assume from all this that 'single record' mode requires a TDatasource component.
Thanks for your attention!
Barry