Chart->TopAxis -- Unable to Display

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
pbooth
Newbie
Newbie
Posts: 9
Joined: Mon Apr 19, 2004 4:00 am
Location: Folsom, CA

Chart->TopAxis -- Unable to Display

Post by pbooth » Sat Apr 24, 2004 5:35 am

I am using the surface chart and am not able to display the topaxis
title.

I am able to get leftaxis, bottomaxis, and depthaxis, but not the topaxis.
I want to use this to label the graph. Thought I should probably use the
title function for this, how do I active topaxis or get it to display the
text I assign it????

Thanks.

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

Post by Pep » Sun Apr 25, 2004 9:38 pm

Hi,

you can do something like :

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues(10);
Series2.FillSampleValues(10);
Series2.HorizAxis := aTopAxis;
Chart1.Axes.Top.Title.Caption := 'Top Axis';
end;

Post Reply