You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -520,7 +520,7 @@ Returns a new area with the given *data* and *options*. This constructor is used
520
520
Plot.areaY(aapl, {x:"Date", y:"Close"})
521
521
```
522
522
523
-
Returns a new area with the given *data* and *options*. This constructor is used when the baseline and topline share *x* values, as in a time-series area chart where time goes right→. If neither the **y1** nor **y2** option is specified, a**y** option may be specified as shorthand to apply an implicit [stackY transform](#plotstackyoptions); this is the typical configuration for an area chart with a baseline at *y* = 0. If the **y** option is not specified, it defaults to the identity function. The **x** option specifies the **x1** channel; and the **x1** and **x2** options are ignored.
523
+
Returns a new area with the given *data* and *options*. This constructor is used when the baseline and topline share *x* values, as in a time-series area chart where time goes right→. If neither the **y1** nor **y2** option is specified, the**y** option may be specified as shorthand to apply an implicit [stackY transform](#plotstackyoptions); this is the typical configuration for an area chart with a baseline at *y* = 0. If the **y** option is not specified, it defaults to the identity function. The **x** option specifies the **x1** channel; and the **x1** and **x2** options are ignored.
524
524
525
525
### Bar
526
526
@@ -560,7 +560,7 @@ Returns a new vertical bar↕︎ with the given *data* and *options*. The follow
560
560
***y1** - the starting vertical position; bound to the *y* scale
561
561
***y2** - the ending vertical position; bound to the *y* scale
562
562
563
-
If neither the **y1** nor **y2** option is specified, a**y** option may be specified as shorthand to apply an implicit [stackY transform](#plotstackyoptions); this is the typical configuration for a vertical bar chart with bars aligned at *y* = 0. If the **y** option is not specified, it defaults to the identity function.
563
+
If neither the **y1** nor **y2** option is specified, the**y** option may be specified as shorthand to apply an implicit [stackY transform](#plotstackyoptions); this is the typical configuration for a vertical bar chart with bars aligned at *y* = 0. If the **y** option is not specified, it defaults to the identity function.
564
564
565
565
In addition to the [standard bar channels](#bar), the following optional channels are supported:
566
566
@@ -758,7 +758,7 @@ Equivalent to [Plot.rect](#plotrectdata-options), except that if neither the **x
Equivalent to [Plot.rect](#plotrectdata-options), except that if neither the **y1** nor **y2** option is specified, a**y** option may be specified as shorthand to apply an implicit [stackY transform](#plotstackyoptions); this is the typical configuration for a histogram with rects aligned at *y* = 0. If the **y** option is not specified, it defaults to the identity function.
761
+
Equivalent to [Plot.rect](#plotrectdata-options), except that if neither the **y1** nor **y2** option is specified, the**y** option may be specified as shorthand to apply an implicit [stackY transform](#plotstackyoptions); this is the typical configuration for a histogram with rects aligned at *y* = 0. If the **y** option is not specified, it defaults to the identity function.
762
762
763
763
### Rule
764
764
@@ -1174,7 +1174,7 @@ These two methods do not ensure consistency of the series order across the stack
1174
1174
The **reverse** option reverses the order.
1175
1175
1176
1176
The stacking algorithm tracks two values, *lo* and *hi*, both starting at zero for each stack. Considering the values in the given *order*, it progresses by adding non-negative values to the current *hi*, and negative values to the current *lo*. The value of *lo* or *hi* before adding is saved in *y1*, and the new value is saved in *y2*.
1177
-
1177
+
1178
1178
When all the values have been added in all the stacks, an optional **offset** strategy is applied to rescale *y1* and *y2*.
0 commit comments