Skip to content

Commit 08c80c0

Browse files
committed
mention the domain sort option
1 parent 2f5f5e7 commit 08c80c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/transforms/group.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ export function groupZ<T>(outputs?: GroupOutputs, options?: T): Transformed<T>;
127127
*
128128
* The outputs may also include *filter* and *sort* options (with *reverse*) to
129129
* specify which groups are generated. Use filter: null to generate empty
130-
* groups, for example to impute sum=0 for a line chart.
130+
* groups, for example to impute sum=0 for a line chart. The *sort* option can
131+
* also target the domain of an associated scale such as *x*, *fx* or *fy*.
131132
*
132133
* See also **groupZ**, **groupY**, and **group** if you need to group by
133134
* series, *y*, or both *x* and *y*.
@@ -183,7 +184,8 @@ export function groupX<T>(outputs?: GroupOutputs, options?: T): Transformed<T>;
183184
*
184185
* The outputs may also include *filter* and *sort* options (with *reverse*) to
185186
* specify which groups are generated. Use filter: null to generate empty
186-
* groups, for example to impute sum=0 for a line chart.
187+
* groups, for example to impute sum=0 for a line chart. The *sort* option can
188+
* also target the domain of an associated scale such as *y*, *fx* or *fy*.
187189
*
188190
* See also **groupZ**, **groupX**, and **group** if you need to group by
189191
* series, *x*, or both *x* and *y*.

0 commit comments

Comments
 (0)