TChartGrid and data file

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bamboo
Newbie
Newbie
Posts: 32
Joined: Thu Jul 12, 2007 12:00 am

TChartGrid and data file

Post by bamboo » Wed May 21, 2008 1:33 pm

Is it possible for the TChartGrid to display all the columns of a data file irrespective of the columns selected for my series instead of just the columns selectyed for the series.


Thanks.

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 May 21, 2008 2:16 pm

Hi bamboo,

TChartGrid inherits from TCustomGrid, you could try searching how to do this using TCustomGrid.

Hope this helps!
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

bamboo
Newbie
Newbie
Posts: 32
Joined: Thu Jul 12, 2007 12:00 am

Post by bamboo » Thu May 22, 2008 8:35 am

Thanks.

TCustomGrid might be the answer. There seems to be no HELP on it.

How does one load a data file with all its columns into it?

I would also like to display the corresponding data file in the grid when selecting a specific series (graph) from multiple graphs and more than one data file. That is, everytime I click on a graph the grid must the display all the columns of that data file.

Some advice would be appreciated.

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

Post by Narcís » Mon May 26, 2008 8:40 am

Hi bamboo,

The best solution may be using an external grid as TChartGrid is designed to display chart's data. You'll find an example of this at All Features\Welcome!\Miscellaneous\Grid to Chart in the new features demo, available 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

bamboo
Newbie
Newbie
Posts: 32
Joined: Thu Jul 12, 2007 12:00 am

Post by bamboo » Fri May 30, 2008 11:19 am

Thanks.

I back to using TChartGrid, by creating it at runtime.
There seems to be no user friendly component at the moment for me to use. Delphi's TDrawGrid is the only viable option but not easy to understand and use when loading huge data files. TStringGrid takes too long to load huge data files.

My new problem now is to select the correct row in TChartGrid when the user click on a specific point on a series.

Any advice would be appreciated.

Thanks.

Post Reply