Page 1 of 1

Chart title placement when multiple top axes

Posted: Mon Oct 15, 2018 9:02 pm
by 16583932
Good morning
I have a chart that uses two top axes, TopAxis and CustomAxes[1]. When data is plotted against TopAxis, the chart title is correctly placed above the axis labels and axis title. However, when data is plotted only against CustomAxes[1], the chart title is placed just above the top axis, and overwrites the labels of CustomAxes[1].
How can I easily place the Chart Title above the CustomAxes[1] title. Note that if data is not plotted against either top axis, I would expect the chart title to be placed just above the chart axis.
I look forward to your comments
Best regards
Errol

Re: Chart title placement when multiple top axes

Posted: Thu Oct 18, 2018 11:38 am
by yeray
Hello,

You can set the custom axis ResizeChart property to True and then the ChartRect will be "inflated":

Code: Select all

  Chart1.CustomAxes[1].ResizeChart:=True;