Skip to content

Commit 120b72e

Browse files
leo2436leoChen1996
andauthored
Docs: fix tooltip model doc. (#11143)
Co-authored-by: Leo Chen <[email protected]>
1 parent 7f9bca6 commit 120b72e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/configuration/tooltip.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,10 @@ The tooltip model contains parameters that can be used to render the tooltip.
377377
// lines of text that form the footer
378378
footer: string[],
379379

380-
// colors to render for each item in body[]. This is the color of the squares in the tooltip
381-
labelColors: Color[],
380+
// style to render for each item in body[]. This is the style of the squares in the tooltip
381+
labelColors: TooltipLabelStyle[],
382382
labelTextColors: Color[],
383+
labelPointStyles: { pointStyle: PointStyle; rotation: number }[],
383384

384385
// 0 opacity is a hidden tooltip
385386
opacity: number,

0 commit comments

Comments
 (0)