From: Jordan Ephron Date: Thu, 1 Nov 2018 15:28:12 +0000 (-0400) Subject: Document padding option for ticks configuration (#5795) X-Git-Tag: v2.8.0-rc.1~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bea6aba7b8160a8c89b6fe24a2a6f175edf7a48;p=thirdparty%2FChart.js.git Document padding option for ticks configuration (#5795) --- diff --git a/docs/axes/styling.md b/docs/axes/styling.md index 12a170f3e..0e45efcd6 100644 --- a/docs/axes/styling.md +++ b/docs/axes/styling.md @@ -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.