From 242f87b60f78f6d3802fbe5aa4e9cde76e5bceca Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Tue, 9 Mar 2021 08:02:01 -0500 Subject: [PATCH] Update scriptable tooltip context docs --- docs/docs/general/options.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/general/options.md b/docs/docs/general/options.md index 092d8c8351d..7591b933c89 100644 --- a/docs/docs/general/options.md +++ b/docs/docs/general/options.md @@ -114,6 +114,7 @@ There are multiple levels of context objects: * `data` * `scale` * `tick` + * `tooltip` Each level inherits its parent(s) and any contextual information stored in the parent is available through the child. @@ -162,3 +163,10 @@ In addition to [scale](#scale) * `tick`: the associated tick object * `index`: tick index * `type`: `'tick'` + +### tooltip + +In addition to [chart](#chart) + +* `tooltip`: the tooltip object +* `tooltipItems`: the items the tooltip is displaying