When filling my TChart with data from a OleDB DataReader the TChart show up empty!
I know that the datareader has been loaded with data - but this call: tChart1[0].DataSource = datareader;
does nothing!
I am trying to fill a Tower with data an the 'FillSampleValues' function does this fine - but it wont accept data from the datareader!?
Would it be better with a DataSet or DataTabel ?
What am I missing here ....?
Tchart wont accept dataSource
-
- Newbie
- Posts: 61
- Joined: Wed Jun 22, 2005 4:00 am
- Location: cph
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ext-cph,
It may help you having a look at "Tutorial 8 - ADO.NET Database Access". You'll find the tutorials at TeeChart program group. This tutorials shows how to use TeeChart with databases either at design-time and run-time.
It may help you having a look at "Tutorial 8 - ADO.NET Database Access". You'll find the tutorials at TeeChart program group. This tutorials shows how to use TeeChart with databases either at design-time and run-time.
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 |
-
- Newbie
- Posts: 61
- Joined: Wed Jun 22, 2005 4:00 am
- Location: cph
Filling a Tower with data from a DataReader
I have looked at Tutorial - but again with no luck!
It all works fine when loading a Bar series - but I cannot fil the Tower.
If you can give me an example of how to fill a tower (not a bar) i would be very pleased.
Regards
It all works fine when loading a Bar series - but I cannot fil the Tower.
If you can give me an example of how to fill a tower (not a bar) i would be very pleased.
Regards
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi ext-cph,
The problem may lie on your data nature. It should fit this kind of series typology as with ColorGrid and Surface series as I've already explained at this other thread. If your data doesn't fit that structure it won't be displayed.
The problem may lie on your data nature. It should fit this kind of series typology as with ColorGrid and Surface series as I've already explained at this other thread. If your data doesn't fit that structure it won't be displayed.
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 |