mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Document padding option for ticks configuration (#5795)
This commit is contained in:
parent
820d28907b
commit
6bea6aba7b
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user