Page 1 of 1
Axis Title of DEPTH RIGHT not displayed
Posted: Tue Mar 29, 2016 9:06 am
by 16575033
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
Re: Axis Title of DEPTH RIGHT not displayed
Posted: Tue Mar 29, 2016 2:11 pm
by narcis
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.
Re: Axis Title of DEPTH RIGHT not displayed
Posted: Tue Mar 29, 2016 2:27 pm
by 16575033
Please try a 3D chart with the DEPTH Axis right. There the Axis Ti is missing.
Re: Axis Title of DEPTH RIGHT not displayed
Posted: Tue Mar 29, 2016 2:37 pm
by narcis
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