From: Evert Timberg Date: Mon, 21 Dec 2020 20:26:13 +0000 (-0500) Subject: Ensure that default animation modes table is clear (#8212) X-Git-Tag: v3.0.0-beta.8~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=009a1a5baa4cacdf44f6dd86230a531a682dacfb;p=thirdparty%2FChart.js.git Ensure that default animation modes table is clear (#8212) --- diff --git a/docs/docs/configuration/animations.mdx b/docs/docs/configuration/animations.mdx index edb55356d..5d6994e00 100644 --- a/docs/docs/configuration/animations.mdx +++ b/docs/docs/configuration/animations.mdx @@ -139,9 +139,9 @@ A mode option is defined by the same options of the main [animation configuratio | `'active'` | duration | 400 | Override default duration to 400ms for hover animations | `'resize'` | duration | 0 | Override default duration to 0ms (= no animation) for resize | `'show'` | colors | `{ type: 'color', properties: ['borderColor', 'backgroundColor'], from: 'transparent' }` | Colors are faded in from transparent when dataset is shown using legend / [api](../developers/api.md#showdatasetIndex). -| | visible | `{ type: 'boolean', duration: 0 }` | Dataset visiblity is immediately changed to true so the color transition from transparent is visible. +| `'show'` | visible | `{ type: 'boolean', duration: 0 }` | Dataset visiblity is immediately changed to true so the color transition from transparent is visible. | `'hide'` | colors | `{ type: 'color', properties: ['borderColor', 'backgroundColor'], to: 'transparent' }` | Colors are faded to transparent when dataset id hidden using legend / [api](../developers/api.md#hidedatasetIndex). -| | visible | `{ type: 'boolean', easing: 'easeInExpo' }` | Visibility is changed to false at a very late phase of animation +| `'hide'` | visible | `{ type: 'boolean', easing: 'easeInExpo' }` | Visibility is changed to false at a very late phase of animation ## Animation property configuration