From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Tue, 30 Mar 2021 22:19:45 +0000 (+0200) Subject: Change the title of the tip block to Note (#8758) X-Git-Tag: v3.0.0-rc.7~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6eaaf771f60575927d368bf9b6d48a87c14f902;p=thirdparty%2FChart.js.git Change the title of the tip block to Note (#8758) --- diff --git a/docs/charts/area.md b/docs/charts/area.md index e3c8cee04..ad18cfef0 100644 --- a/docs/charts/area.md +++ b/docs/charts/area.md @@ -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). ::: diff --git a/docs/charts/bar.md b/docs/charts/bar.md index 4f3cc89ec..c9806ac70 100644 --- a/docs/charts/bar.md +++ b/docs/charts/bar.md @@ -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. ::: diff --git a/docs/configuration/animations.md b/docs/configuration/animations.md index 5c27c1574..7000f125f 100644 --- a/docs/configuration/animations.md +++ b/docs/configuration/animations.md @@ -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. ::: diff --git a/docs/general/options.md b/docs/general/options.md index 0e64856a7..25348d998 100644 --- a/docs/general/options.md +++ b/docs/general/options.md @@ -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.