From 089016e91968edf4cf4429e4cced1d1e2b620a53 Mon Sep 17 00:00:00 2001 From: Akihiko Kusanagi Date: Wed, 30 Jan 2019 19:14:03 +0800 Subject: [PATCH] Update doc on label types for TooltipItem --- docs/configuration/tooltip.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration/tooltip.md b/docs/configuration/tooltip.md index 0b9bf24385e..2a2f372df6c 100644 --- a/docs/configuration/tooltip.md +++ b/docs/configuration/tooltip.md @@ -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,