Excel Script - How to position data labels on a donut?

TRoberts 0 Reputation points
2023-04-16T19:12:57.6433333+00:00

I've tried using and also doing the same on the series but I just get 'ChartDataLabels setPosition: This operation is not permitted for the current object'. Any suggestions?

chart_2.getSeries()[0].getPoints()[3].getDataLabel().setPosition(ExcelScript.ChartDataLabelPosition.callout);

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,720 questions
0 comments No comments
{count} votes