From 84ca2217838336e390d8c4667a4d0812b8b99d47 Mon Sep 17 00:00:00 2001 From: Yuji Sugiura Date: Tue, 9 May 2023 21:52:02 +0900 Subject: [PATCH] [docs] Fix `TooltipOptions` section --- docs/reference/configuration.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index b6e958d..e5751f8 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -147,11 +147,11 @@ The X axis (often the time axis) is usually continuous. That means we can reduce - Type: `Object` - Default: `{}` -Customizing options for the format of the label and value displayed on hover tooltips. +#### formatTooltipX and formatTooltipY + - Type: `Function` + - Default: `undefined` -#### - - Type: `function` - - Default: `{}` +Customizing options for the format of the label and value displayed on hover tooltips. This function takes a value as an argument. By default, it displays the value itself. ---