Skip to content

Commit

Permalink
Update doc on label types for TooltipItem
Browse files Browse the repository at this point in the history
  • Loading branch information
nagix committed Jan 30, 2019
1 parent 97da221 commit 089016e
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 089016e

Please sign in to comment.