How to set the the percentage format in google app

2019-07-21 00:10发布

As part of a Google App Script Dashboard, I have the following table:

var tableChart = Charts.newTableChart()
.setDataViewDefinition(Charts.newDataViewDefinition().setColumns([1,10,15]))
.build();

Column 10 is labelled "Percentage of Total" and in my google spreadsheet formatted as "0.00%". The tableChart however does not take the formatting into account and displays the value as "0.0000"

How does one set the formatting of a specific column in the tableChart to "0.00%"?

Regards Jann

1条回答
时光不老,我们不散
2楼-- · 2019-07-21 01:05

A feature request has been added to the issue tracker, Issue 3063. Visit and star it to receive updates.

查看更多
登录 后发表回答