Hello,
When the leftaxis has decimals in it´s labels(i.e 0, 0.5, 1, 1.5 etc) the title on the leftaxis overlaps the decimal values. Does anyone know how to solve this problem?
Best Regards,
Johan Ingemansson
Title on leftaxis overlaps labels using TBoxSeries
-
- Newbie
- Posts: 59
- Joined: Fri May 28, 2004 4:00 am
- Location: Sweden
Hi, Johan.
One workaround for this problem is to manually allocate left axis title and labels size. This can be done by using the following code:
One workaround for this problem is to manually allocate left axis title and labels size. This can be done by using the following code:
Code: Select all
With Chart1.Axes.Left do
begin
LabelsSize := 25; // 25px for axis labels
TitleSize := 12; // 12px for axis title
end;
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
-
- Newbie
- Posts: 59
- Joined: Fri May 28, 2004 4:00 am
- Location: Sweden
Hi.
The following code might help:
Of course, you'll have to increase the axis TitleSize to accomodate for multiple lines (see my first reply in this thread).
The following code might help:
Code: Select all
Chart1.Axes.Left.Title.Caption := '1st line'+#13+'2nd line';
Marjan Slatinek,
http://www.steema.com
http://www.steema.com