]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Change the title of the tip block to Note (#8758)
authorJacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Tue, 30 Mar 2021 22:19:45 +0000 (00:19 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Mar 2021 22:19:45 +0000 (18:19 -0400)
docs/charts/area.md
docs/charts/bar.md
docs/configuration/animations.md
docs/general/options.md

index e3c8cee049e0a29bdb1012ca09a851df83dff397..ad18cfef0331b9131b7221432f37c118f609ed25 100644 (file)
@@ -2,7 +2,7 @@
 
 Both [line](./line.mdx) and [radar](./radar.mdx) charts support a `fill` option on the dataset object which can be used to create space between two datasets or a dataset and a boundary, i.e. the scale `origin`, `start,` or `end` (see [filling modes](#filling-modes)).
 
-:::tip
+:::tip Note
 This feature is implemented by the [`filler` plugin](https://github.com/chartjs/Chart.js/blob/master/src/plugins/plugin.filler.js).
 :::
 
index 4f3cc89ec921eeab3a4b8ab8d2a4b14807690744..c9806ac70ae4f1714e2d57aeec2422e8375f9a19 100644 (file)
@@ -123,7 +123,7 @@ This setting is used to avoid drawing the bar stroke at the base of the fill, or
 In general, this does not need to be changed except when creating chart types
 that derive from a bar chart.
 
-:::tip
+:::tip Note
 For negative bars in a vertical chart, `top` and `bottom` are flipped. Same goes for `left` and `right` in a horizontal chart.
 :::
 
index 5c27c15747d6d62c2b9d152593a0c033a5e15c7c..7000f125f6ce55adbb105ebae34d196c491c383d 100644 (file)
@@ -164,7 +164,7 @@ Namespace: `options.animations[animation]`
 | `colors` | `properties` | `['color', 'borderColor', 'backgroundColor']`
 | `colors` | `type` | `'color'`
 
-:::tip
+:::tip Note
 These default animations are overridden by most of the dataset controllers.
 :::
 
index 0e64856a7f86125eb8a4361d085f9fcd7d87f44b..25348d998f8e85dd8ef31445760f11195f0e41ae 100644 (file)
@@ -68,7 +68,7 @@ A plugin can provide `additionalOptionScopes` array of paths to additionally loo
 Scriptable options also accept a function which is called for each of the underlying data values and that takes the unique argument `context` representing contextual information (see [option context](options.md#option-context)).
 A resolver is passed as second parameter, that can be used to access other options in the same context.
 
-:::tip
+:::tip Note
 
 The `context` argument should be validated in the scriptable function, because the function can be invoked in different contexts. The `type` field is a good candidate for this validation.