Page 1 of 1

TChartGrid and data file

Posted: Wed May 21, 2008 1:33 pm
by 10546084
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.

Posted: Wed May 21, 2008 2:16 pm
by narcis
Hi bamboo,

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

Hope this helps!

Posted: Thu May 22, 2008 8:35 am
by 10546084
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.

Posted: Mon May 26, 2008 8:40 am
by narcis
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.

Posted: Fri May 30, 2008 11:19 am
by 10546084
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.