When I first create a chart in Google Sheets, the Title is in a movable box that I can select and drag around inside the chart box.
If I then change that title programmatically, e.g.
chart = chart.modify()
.setOption('title',ChartTitleNameReplacement)
.build();
selectedSheet.updateChart(chart);
the Title jumps up to the top of the chart box and cannot be dragged anywhere.
What option setting do I need in the Google Apps Script code to keep that box movable? Alternatively, is there any way of specifying a position in the chart box for the Title?