From 68b2fdb963544bbd1d0f3430fa32286e96ca5f13 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Wed, 23 Jan 2019 22:58:56 +0200 Subject: [PATCH] little documentation --- docs/configuration/tooltip.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/configuration/tooltip.md b/docs/configuration/tooltip.md index 891d6e1e632..b46711c26d9 100644 --- a/docs/configuration/tooltip.md +++ b/docs/configuration/tooltip.md @@ -161,10 +161,16 @@ The tooltip items passed to the tooltip callbacks implement the following interf ```javascript { - // X Value of the tooltip as a string + // Label for the tooltip + label: String, + + // Value for the tooltip + value: String, + + // (deprecated) X Value of the tooltip xLabel: String, - // Y value of the tooltip as a string + // (deprecated) Y value of the tooltip yLabel: String, // Index of the dataset the item comes from