mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Update responsive.md (#10415)
* Update responsive.md * Update docs/configuration/responsive.md Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com> Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com> Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
This commit is contained in:
parent
954ed953a5
commit
8ee0c5c9b4
@ -20,7 +20,7 @@ Namespace: `options`
|
||||
| `maintainAspectRatio` | `boolean` | `true` | Maintain the original canvas aspect ratio `(width / height)` when resizing.
|
||||
| `aspectRatio` | `number` | `2` | Canvas aspect ratio (i.e. `width / height`, a value of 1 representing a square canvas). Note that this option is ignored if the height is explicitly defined either as attribute or via the style.
|
||||
| `onResize` | `function` | `null` | Called when a resize occurs. Gets passed two arguments: the chart instance and the new size.
|
||||
| `resizeDelay` | `number` | `0` | Delay the resize update by give amount of milliseconds. This can ease the resize process by debouncing update of the elements.
|
||||
| `resizeDelay` | `number` | `0` | Delay the resize update by the given amount of milliseconds. This can ease the resize process by debouncing the update of the elements.
|
||||
|
||||
## Important Note
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user