Merge pull request #412 from leader22/patch-1

[docs] Fix `TooltipOptions` section
This commit is contained in:
Arjun 2023-05-26 11:26:09 +05:30 committed by GitHub
commit f2eeadb76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,11 +147,11 @@ The X axis (often the time axis) is usually continuous. That means we can reduce
- Type: `Object` - Type: `Object`
- Default: `{}` - Default: `{}`
Customizing options for the format of the label and value displayed on hover tooltips. #### formatTooltipX and formatTooltipY
- Type: `Function`
- Default: `undefined`
#### 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.
- Type: `function`
- Default: `{}`
--- ---