From f3983140541e8656f6ecfee053f8163c62792956 Mon Sep 17 00:00:00 2001 From: Wan <495709+wa0x6e@users.noreply.github.com> Date: Tue, 26 Dec 2023 12:24:15 +0400 Subject: [PATCH] Update data.md --- docs/options/data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/options/data.md b/docs/options/data.md index 8942a73..7edb37c 100644 --- a/docs/options/data.md +++ b/docs/options/data.md @@ -7,7 +7,7 @@ sidebar_position: 6 ```js type DataRecord = Record; -type DataGroupType = 'sum' | 'count' | 'min' | 'max' | 'median'; +type DataGroupType = 'sum' | 'count' | 'min' | 'max' | 'average'; type DataOptions = { source: string | DataRecord[], @@ -294,7 +294,7 @@ cal.paint({ Aggregate function, to group all values from the same subDomain. ```js -type DataGroupType = 'sum' | 'count' | 'min' | 'max' | 'median'; +type DataGroupType = 'sum' | 'count' | 'min' | 'max' | 'average'; ``` ```js