label property
The labels to use for the row/column groups which can be customized.
For example, in the following pivot table, the row label is Region
(which could be renamed to State
) and the column label is Product
(which could be renamed Item
). Pivot tables created before December 2017
do not have header labels. If you'd like to add header labels to an
existing pivot table, please delete the existing pivot table and then
create a new pivot table with same parameters.
+--------------+---------+-------+ | SUM of Units | Product | | | Region |
Pen | Paper | +--------------+---------+-------+ | New York | 345 | 98 | |
Oregon | 234 | 123 | | Tennessee | 531 | 415 |
+--------------+---------+-------+ | Grand Total | 1110 | 636 |
+--------------+---------+-------+
Implementation
core.String? label;