How can I invert my Grid?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SSW
Newbie
Newbie
Posts: 2
Joined: Wed Apr 06, 2005 4:00 am

How can I invert my Grid?

Post by SSW » Mon Jun 20, 2005 12:54 pm

Hello,

how can I display data like this in a teegrid:


01.01.05 | 01.02.05 | 01.03.05 | 01.04.205
------------------------------------------------------------------------------
V1 25.75 | 12.23 | 89.09 | 16.98
V2 13.23 | 14.23 | 87.87 | 14.09


At the moment my grid displays data like this:

Text V1 V2
01.01.05 25.75 13.23
01.02.05 12.23 14.23
01.03.05 89.09 87.87
01.04.05 16.98 14.09

Is there a built-In-Function to invert Values to Columns?

Ciao

Roland

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jun 27, 2005 3:17 pm

Hi Roland,

this cannot be done with the ChartGrid, but you can use the StringGrid component (Delphi component) to accompish it.
The Demo Features project includes an example which demostrates how to show data into a stringGrid, you can find it under :
All Features->Miscellaneous->Grid To Chart

Post Reply