Can I add data to a chart from DB result?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
HCLab
Newbie
Newbie
Posts: 9
Joined: Wed Jan 31, 2007 12:00 am

Can I add data to a chart from DB result?

Post by HCLab » Wed Jan 16, 2008 2:34 pm

I wish to use single dataset for several serieses.

For example,

first, assign query into a dataset.
second, open a dataset and add data from that dataset to a series on a chart.
third, repeat these steps.
that work is occur in for loop.

finally, I have to get a chart that has muliti serieses with different values.

is it possible?

waiting for your response.
Great JM

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

Post by Narcís » Wed Jan 16, 2008 3:13 pm

Hi HCLab,

Yes, that's possible. I recommend you to read Tutorial 8 - Database access and have a look at the All Features\Welcome!\Database charts examples in the new features demo. You'll find the tutorials and features 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

HCLab
Newbie
Newbie
Posts: 9
Joined: Wed Jan 31, 2007 12:00 am

Thanks for your support

Post by HCLab » Thu Jan 17, 2008 2:40 am

Thx narcis. I'll look at demo you've mentioned
Great JM

Post Reply