Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/docs/general/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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