Hi all,
Is there a way to change the data labels and/or tooltips from a chart through script or other dynamic method?
Starting with a stacked bar chart where you show absolute values in the data label and % in the tooltip, I want to change the chart type according to the users choice, which is easily achievable through “.setChartType()”, the problem is that if you want to define tooltip or datalabel format you’ll only be able to define one format.
This is limiting, for example, in the case where percentages are showing as 0 or 1, because you defined the original format to absolute values. (see examples below):
Original bar chart:

Changes to pie chart through script:
Br,
João Cavaco


