mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
9 lines
471 B
Markdown
9 lines
471 B
Markdown
# Layout
|
|
|
|
Namespace: `options.layout`, the global options for the chart layout is defined in `Chart.defaults.layout`.
|
|
|
|
| Name | Type | Default | [Scriptable](../general/options.md#scriptable-options) | Description
|
|
| ---- | ---- | ------- | :----: | -----------
|
|
| `autoPadding` | `boolean` | `true` | No | Apply automatic padding so visible elements are completely drawn.
|
|
| `padding` | [`Padding`](../general/padding.md) | `0` | Yes | The padding to add inside the chart.
|