Skip to content

Commit

Permalink
Docs: fix tooltip model doc. (#11143)
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Chen <[email protected]>
  • Loading branch information
leo2436 and leoChen1996 authored Feb 15, 2023
1 parent 7f9bca6 commit 120b72e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/configuration/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,10 @@ The tooltip model contains parameters that can be used to render the tooltip.
// lines of text that form the footer
footer: string[],

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

// 0 opacity is a hidden tooltip
opacity: number,
Expand Down

0 comments on commit 120b72e

Please sign in to comment.