Skip to content

Commit ed70723

Browse files
committed
stackY is vertical
1 parent d26e7f8 commit ed70723

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,8 +1036,6 @@ Supported reducers:
10361036

10371037
Groups on *x*, *y*, and the first of *z*, *fill*, or *stroke*, if any. The value channel is the input with the same name as the aggregation channel.
10381038

1039-
Examples:
1040-
10411039
```js
10421040
Plot.group({fill: "count"}, {
10431041
x: "island",
@@ -1141,23 +1139,23 @@ Groups on the first of *z*, *fill*, or *stroke*, if any; if none of *z*, *fill*,
11411139

11421140
#### Plot.stackX1(*options*)
11431141

1144-
Equivalent to [Plot.stackX](#plotstackxoptions), except that the **x1** channel is returned as the **x** channel. This can be used, for example, to draw a line at the bottom of each stacked area.
1142+
Equivalent to [Plot.stackX](#plotstackxoptions), except that the **x1** channel is returned as the **x** channel. This can be used, for example, to draw a line at the left edge of each stacked area.
11451143

11461144
#### Plot.stackX2(*options*)
11471145

1148-
Equivalent to [Plot.stackX](#plotstackxoptions), except that the **x2** channel is returned as the **x** channel. This can be used, for example, to draw a line at the top of each stacked area.
1146+
Equivalent to [Plot.stackX](#plotstackxoptions), except that the **x2** channel is returned as the **x** channel. This can be used, for example, to draw a line at the right edge of each stacked area.
11491147

11501148
#### Plot.stackY(*options*)
11511149

11521150
11531151

11541152
#### Plot.stackY1(*options*)
11551153

1156-
Equivalent to [Plot.stackY](#plotstackyoptions), except that the **y1** channel is returned as the **y** channel. This can be used, for example, to draw a line at the left edge of each stacked area.
1154+
Equivalent to [Plot.stackY](#plotstackyoptions), except that the **y1** channel is returned as the **y** channel. This can be used, for example, to draw a line at the bottom of each stacked area.
11571155

11581156
#### Plot.stackY2(*options*)
11591157

1160-
Equivalent to [Plot.stackY](#plotstackyoptions), except that the **y2** channel is returned as the **y** channel. This can be used, for example, to draw a line at the right edge of each stacked area.
1158+
Equivalent to [Plot.stackY](#plotstackyoptions), except that the **y2** channel is returned as the **y** channel. This can be used, for example, to draw a line at the top of each stacked area.
11611159

11621160
## Curves
11631161

0 commit comments

Comments
 (0)