How to hide title of ChartGrid

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
windmaomao
Newbie
Newbie
Posts: 27
Joined: Sat Dec 06, 2003 5:00 am
Location: baltimore

How to hide title of ChartGrid

Post by windmaomao » Wed Sep 22, 2004 9:23 pm

Hi,
another question,
I am working on the chartgrid component, very nice. I'd like to know how to hide the title region, ex. Series1, Series2. And I also want to know if possible to hide Z axis data when working on 2D chart only.

Thanks.

Best Regards
Fang

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

Post by Pep » Thu Sep 23, 2004 1:23 pm

Hi Fang,

yes, you can do this :

ChartGrid1.RowHeights[0] := 0;
ChartGrid1.ColWidths[4]:= 0;

windmaomao
Newbie
Newbie
Posts: 27
Joined: Sat Dec 06, 2003 5:00 am
Location: baltimore

Post by windmaomao » Thu Sep 23, 2004 2:07 pm

very clever, many thanks

Post Reply