google-sheets-charts

Titles in Google Sheets Charts

徘徊边缘 提交于 2020-08-08 05:15:50
问题 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

Titles in Google Sheets Charts

谁都会走 提交于 2020-08-08 05:15:23
问题 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