From 6abfc279194fe2fbc43146396e868408502d575c Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 14 Feb 2023 21:29:45 +0800 Subject: [PATCH] Docs: fix tooltip model doc. --- docs/configuration/tooltip.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/configuration/tooltip.md b/docs/configuration/tooltip.md index bb893e176c8..03cf8a46724 100644 --- a/docs/configuration/tooltip.md +++ b/docs/configuration/tooltip.md @@ -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,