]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Ensure that default animation modes table is clear (#8212)
authorEvert Timberg <evert.timberg+github@gmail.com>
Mon, 21 Dec 2020 20:26:13 +0000 (15:26 -0500)
committerGitHub <noreply@github.com>
Mon, 21 Dec 2020 20:26:13 +0000 (15:26 -0500)
docs/docs/configuration/animations.mdx

index edb55356df4fd4694a89a6e1c5a5ad5f84f94360..5d6994e0073fcf1a924ba9d44554f8abd60608e7 100644 (file)
@@ -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