From 44a2b7799e5bc1b6fc99ea690ef414b944792946 Mon Sep 17 00:00:00 2001 From: stockiNail Date: Mon, 6 Dec 2021 16:21:42 +0100 Subject: [PATCH 1/2] Fixes #531 --- docs/guide/configuration.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index d71ff8bea..cd15adc50 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -12,6 +12,14 @@ The following options are available at the top level. They apply to all annotati | `drawTime` | `string` | Yes | `'afterDatasetsDraw'` | See [drawTime](options#draw-time) | `dblClickSpeed` | `number` | Yes | `350` | Time to detect a double click in ms. +:::warning + +Setting `clip` to `false`, you can enable the possibility to draw part of the annotation outside of the chart area. + +Nevertheless, this disables the catching of events on that part, outside of the chart area. + +::: + ### Events The following options are available for all annotation types. These options can be specified per annotation, or at the top level which apply to all annotations. From ee39db74f21ba0fb22c1e2a4e586a08b19ad2753 Mon Sep 17 00:00:00 2001 From: stockiNail Date: Mon, 6 Dec 2021 16:47:07 +0100 Subject: [PATCH 2/2] fixes sentence --- docs/guide/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index cd15adc50..796fc99ec 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -16,7 +16,7 @@ The following options are available at the top level. They apply to all annotati Setting `clip` to `false`, you can enable the possibility to draw part of the annotation outside of the chart area. -Nevertheless, this disables the catching of events on that part, outside of the chart area. +Nevertheless events are only catched over the chartArea. :::