From 9a042672a74d71fb0238bfaa2310b237d106604e Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Tue, 9 Mar 2021 08:08:50 -0500 Subject: [PATCH] Update scriptable tooltip context docs (#8599) --- 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 092d8c835..7591b933c 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 -- 2.47.3