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
@@ -296,7 +296,7 @@ Plot automatically generates [axis](#axis) and optionally [grid](#grid) marks fo
296
296
**scale*.**tickPadding** - the separation between the tick and its label (in pixels; default 3)
297
297
**scale*.**tickFormat** - either a function or specifier string to format tick values; see [Formats](#formats)
298
298
**scale*.**tickRotate** - whether to rotate tick labels (an angle in degrees clockwise; default 0)
299
-
**scale*.**grid** - if true, draw grid lines across the plot for each tick
299
+
**scale*.**grid** - whether to draw grid lines across the plot for each tick
300
300
**scale*.**line** - if true, draw the axis line (only for *x* and *y*)
301
301
**scale*.**label** - a string to label the axis
302
302
**scale*.**labelAnchor** - the label anchor: *top*, *right*, *bottom*, *left*, or *center*
@@ -305,7 +305,7 @@ Plot automatically generates [axis](#axis) and optionally [grid](#grid) marks fo
305
305
**scale*.**ariaLabel** - a short label representing the axis in the accessibility tree
306
306
**scale*.**ariaDescription** - a textual description for the axis
307
307
308
-
Top-level options are also supported as shorthand: **grid** (for *x* and *y* only; see [facet.grid](#facet-options)), **label**, **axis**, **inset**, **round**, **align**, and **padding**.
308
+
Top-level options are also supported as shorthand: **grid** (for *x* and *y* only; see [facet.grid](#facet-options)), **label**, **axis**, **inset**, **round**, **align**, and **padding**. If the **grid** option is true, show a grid with the currentColor stroke; if specified as a string, show a grid with the specified stroke color; if an approximate number of ticks, an interval, or an array of tick values, show corresponding grid lines.
309
309
310
310
### Projection options
311
311
@@ -1505,7 +1505,7 @@ Returns a new *fy* grid with the given *options*.
1505
1505
1506
1506
### Hexgrid
1507
1507
1508
-
The hexgrid mark can be used to support marks using the [hexbin](#hexbin) layout.
1508
+
The hexgrid mark can be used to support marks using the [hexbin](#hexbin) transform.
1509
1509
1510
1510
#### Plot.hexgrid(*options*)
1511
1511
@@ -1978,7 +1978,7 @@ Equivalent to [Plot.vector](#plotvectordata-options) except that the **shape** d
1978
1978
1979
1979
## Decorations
1980
1980
1981
-
Decorations are static marks that do not represent data. Currently this includes only [Plot.frame](#frame), although internally Plot’s axes are implemented as decorations and may in the future be exposed here for more flexible configuration.
1981
+
Decorations are marks that do not directly represent data. Currently this includes [Plot.frame](#frame), as well as the [axes](#axis) and [grid](#grid) marks described above.
0 commit comments