formatterStats
PivotValueFieldOptions.formatterStats ์ต์ .
๋ชจ๋ ์์ฑ์ด ์๋ต๋๋ฉด cellScope='value', compareScope='all', ํฉ๊ณ/์ ๋ ฌ ์์ด
min/max/count๋ง ๊ณ์ฐ๋๋ค.
Options
cellScope: 'value'|'subtotal'|'total'|'all'|('value'|'subtotal'|'total')[]
ํต๊ณ์ ํฌํจํ ์
๋ ๋ฒจ. ๊ธฐ๋ณธ 'value'.
compareScope: 'all'|'row'|'column'|'level'|'rowGroup'|'columnGroup'|('row'|'column'|'level'|'rowGroup'|'columnGroup')[]
๊ทธ๋ฃน ๋ถ๋ฆฌ ์ถ. ๊ธฐ๋ณธ 'all'(๋ถ๋ฆฌ ์์ด ์ ์ฒด 1๊ฐ ๊ทธ๋ฃน).
withSum: boolean
ํฉ๊ณ/ํ๊ท ์ด ํ์ํ๋ฉด true.
withSorted: boolean
์ ๋ ฌ๋ ๊ฐ ๋ฐฐ์ด(percentile/rank ๊ณ์ฐ์ฉ)์ด ํ์ํ๋ฉด true. withSum๋ ์๋ ํฌํจ.