Page 1 of 1

Axis Title and Label overlaps

Posted: Wed Jul 19, 2017 10:41 am
by 16580510
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 ?

Re: Axis Title and Label overlaps

Posted: Fri Jul 21, 2017 6:29 am
by yeray
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 5087 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?