Skip to content

Commit

Permalink
Merge pull request #359 from ChepteaCatalin/feat/tooltip-valueFormatt…
Browse files Browse the repository at this point in the history
…er-dataIndex

feat(tooltip): add dataIndex to valueFormatter callback
  • Loading branch information
Ovilia authored Feb 1, 2024
2 parents 1b633d4 + e6be396 commit 8b4df0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/option/partial/tooltip-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8b4df0f

Please sign in to comment.