From e6be39687e662458e6a68982cf34c6c8d692d949 Mon Sep 17 00:00:00 2001 From: ChepteaCatalin <71984989+ChepteaCatalin@users.noreply.github.com> Date: Sun, 17 Sep 2023 18:50:53 +0300 Subject: [PATCH] feat(tooltip): add dataIndex to valueFormatter callback --- en/option/partial/tooltip-common.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/option/partial/tooltip-common.md b/en/option/partial/tooltip-common.md index 49fafb81..e134f54d 100644 --- a/en/option/partial/tooltip-common.md +++ b/en/option/partial/tooltip-common.md @@ -357,7 +357,7 @@ Callback function for formatting the value section in tooltip. Interface: ```ts -(value: number | string) => string +(value: number | string, dataIndex: number) => string ``` Example: