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: docs/axes/styling.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,15 @@ The grid line configuration is nested under the scale configuration in the `grid
21
21
| `offsetGridLines` | `boolean` | `false` | If true, grid lines will be shifted to be between labels. This is set to `true` for a bar chart by default.
22
22
| `z` | `number` | `0` | z-index of gridline layer. Values <= 0 are drawn under datasets, > 0 on top.
23
23
24
+
For function arguments, the function is passed a context object that is of the form:
25
+
26
+
```javscript
27
+
{
28
+
scale: // Scale object
29
+
tick: // Tick object
30
+
}
31
+
```
32
+
24
33
## Tick Configuration
25
34
The tick configuration is nested under the scale configuration in the `ticks` key. It defines options for the tick marks that are generated by the axis.
0 commit comments