Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Update doc on label types for TooltipItem
  • Loading branch information
nagix committed Jan 30, 2019
commit 089016e91968edf4cf4429e4cced1d1e2b620a53
8 changes: 4 additions & 4 deletions docs/configuration/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,18 +163,18 @@ The tooltip items passed to the tooltip callbacks implement the following interf
```javascript
{
// Label for the tooltip
label: string,
label: number | string,

// Value for the tooltip
value: string,
value: number | string,

// X Value of the tooltip
// (deprecated) use `value` or `label` instead
xLabel: string,
xLabel: number | string,

// Y value of the tooltip
// (deprecated) use `value` or `label` instead
yLabel: string,
yLabel: number | string,

// Index of the dataset the item comes from
datasetIndex: number,
Expand Down