์„ค์ •
formatterStats

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๋„ ์ž๋™ ํฌํ•จ.