Axis Title of DEPTH RIGHT not displayed

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Axis Title of DEPTH RIGHT not displayed

Post by walter0316 » Tue Mar 29, 2016 9:06 am

Hi
I tried to define the Axis title in the IDE Editor and/or programmatically.
Both are unable to write the Axis Title.
Please help.
Is this a bug?
Thanks
Walter

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

Re: Axis Title of DEPTH RIGHT not displayed

Post by Narcís » Tue Mar 29, 2016 2:11 pm

Hi Walter,

Code snippet below works fine for me here. Can you please check it works at your end?

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.FillSampleValues;

  Series1.VertAxis:=aBothVertAxis;
  Series1.HorizAxis:=aBothHorizAxis;

  Chart1.Axes.Bottom.Title.Text:='bottom axis title';
  Chart1.Axes.Top.Title.Text:='top axis title';
  Chart1.Axes.Left.Title.Text:='left axis title';
  Chart1.Axes.Right.Title.Text:='right axis title';
end;
Thanks in advance.
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

walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Re: Axis Title of DEPTH RIGHT not displayed

Post by walter0316 » Tue Mar 29, 2016 2:27 pm

Please try a 3D chart with the DEPTH Axis right. There the Axis Ti is missing.

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

Re: Axis Title of DEPTH RIGHT not displayed

Post by Narcís » Tue Mar 29, 2016 2:37 pm

Hi Walter,

Depth axis is not visible by default. You need to enable it:

Code: Select all

  Series1.FillSampleValues;

  Series1.VertAxis:=aBothVertAxis;
  Series1.HorizAxis:=aBothHorizAxis;

  Chart1.Axes.Bottom.Title.Text:='bottom axis title';
  Chart1.Axes.Top.Title.Text:='top axis title';
  Chart1.Axes.Left.Title.Text:='left axis title';
  Chart1.Axes.Right.Title.Text:='right axis title';
  Chart1.Axes.Depth.Title.Text:='depth axis title';

  Chart1.Axes.Depth.Visible:=True;
The title is rendered at the wrong position though so I have added it to the bug list: http://bugs.teechart.net/show_bug.cgi?id=1482
Attachments
depthaxis.png
depthaxis.png (53.6 KiB) Viewed 16357 times
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

Post Reply