From: Brian Ball Date: Wed, 22 Jun 2022 13:22:31 +0000 (-0700) Subject: Update responsive.md (#10415) X-Git-Tag: v3.8.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee0c5c9b4862d1578c4f85d44d3f7cb764ac2cb;p=thirdparty%2FChart.js.git Update responsive.md (#10415) * Update responsive.md * Update docs/configuration/responsive.md Co-authored-by: Jacco van den Berg Co-authored-by: Jukka Kurkela Co-authored-by: Jacco van den Berg --- diff --git a/docs/configuration/responsive.md b/docs/configuration/responsive.md index 3254ccb8c..fbb99c463 100644 --- a/docs/configuration/responsive.md +++ b/docs/configuration/responsive.md @@ -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