Skip to content

Commit

Permalink
Update data.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e authored Dec 26, 2023
1 parent 188d78d commit f398314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/options/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_position: 6

```js
type DataRecord = Record<string, string | number>;
type DataGroupType = 'sum' | 'count' | 'min' | 'max' | 'median';
type DataGroupType = 'sum' | 'count' | 'min' | 'max' | 'average';

type DataOptions = {
source: string | DataRecord[],
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f398314

Please sign in to comment.