]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Document padding option for ticks configuration (#5795)
authorJordan Ephron <JEphron@users.noreply.github.com>
Thu, 1 Nov 2018 15:28:12 +0000 (11:28 -0400)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Thu, 1 Nov 2018 15:28:11 +0000 (16:28 +0100)
docs/axes/styling.md

index 12a170f3e54c080966c766a34229a3468112fa7b..0e45efcd62e4f074a68c72a93a17228a1596198b 100644 (file)
@@ -38,6 +38,7 @@ The tick configuration is nested under the scale configuration in the `ticks` ke
 | `reverse` | `Boolean` | `false` | Reverses order of tick labels.
 | `minor` | `object` | `{}` | Minor ticks configuration. Omitted options are inherited from options above.
 | `major` | `object` | `{}` | Major ticks configuration. Omitted options are inherited from options above.
+| `padding` | `Number` | `0` | Sets the offset of the tick labels from the axis
 
 ## Minor Tick Configuration
 The minorTick configuration is nested under the ticks configuration in the `minor` key. It defines options for the minor tick marks that are generated by the axis. Omitted options are inherited from `ticks` configuration.