We're using the 3D TSurfaceSeries view and we're having problems where the left-axis labels overlap the axis itself in a number of views.
Using the Edit dialog at design time we can increase the 'Margin to axis %' from the default of 10 to 30 or so and it looks much better. However this doesn't get saved back to the DFM and we cannot find how to set this in code.
Can somebody point me in the right direction to the property I need to change?
Thanks
Pete
‘Margin to axis %' in code?
Re: ‘Margin to axis %' in code?
Hello Pete,
Yes, the property you are looking for is
Yes, the property you are looking for is
Texts.MarginToAxis
. Ie:
Code: Select all
Chart1.Axes.Left.Texts.MarginToAxis:=100;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |