Axis Title and Label overlaps

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
gsachs
Newbie
Newbie
Posts: 6
Joined: Tue Mar 14, 2017 12:00 am

Axis Title and Label overlaps

Post by gsachs » Wed Jul 19, 2017 10:41 am

At development time the left axis name and the axis labels are properly separated, see Chart1.jpg.
At runtime the labels are longer and overlap the axisname as seen in Chart2.jpg.
I tried a lot of options but was not successfull.
If there a way to achieve a separation at runtime ?
Attachments
Chart2.JPG
Runtime
Chart2.JPG (11.74 KiB) Viewed 4864 times
Chart1.JPG
Development time
Chart1.JPG (11.51 KiB) Viewed 4866 times

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Axis Title and Label overlaps

Post by Yeray » Fri Jul 21, 2017 6:29 am

Hello,

I've tried to reproduce the problem without success; it seems to work fine for me with a similar length in the axis labels. Ie:
Project2_2017-07-21_08-28-32.png
Project2_2017-07-21_08-28-32.png (8.26 KiB) Viewed 4855 times

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=False;
  Chart1.Legend.Visible:=False;
  Chart1.AddSeries(TLineSeries);

  Chart1.Axes.Left.Title.Text:='Left axis title';

  Chart1.Axes.Left.SetMinMax(79000, 81000);
  Chart1.Axes.Bottom.SetMinMax(33, 40);
end;
What TeeChart version are you using?
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply