Page 1 of 1

Left Axis title overlaps Label if decimal values

Posted: Thu Sep 06, 2007 5:44 pm
by 9534808
Is there any way to put padding between the title of the left axis and numeric labels of data?

I have a situation where my left axis title is a single line, however I have numeric data with 2 decimal values e.g. 10.75 (this is using an automatic scale) and it overlaps the numeric labels.

Is there any way to move the left edge of the graph in a bit? Or specify some padding for the left axis title?

I couldn't see any way of doing it with the settings dialog and couldn't see anything in the api?

Any tips for this?

Tim

Posted: Fri Sep 07, 2007 8:12 am
by narcis
Hi Tim,

Yes, you can set this distance by setting a custom label size, for example:

Code: Select all

    TChart1.Axis.Left.Labels.Size = 50
Hope this helps!

Posted: Sat Sep 08, 2007 4:20 pm
by 9534808
That worked perfectly thanks!

(In fact even in Smalltalk it translates perfectly as:

chart axis left labels size: 20.

)