From 120b72eaae7ed9996458b60347a2f967edd470cc Mon Sep 17 00:00:00 2001 From: leo2436 <58366762+leo2436@users.noreply.github.com> Date: Wed, 15 Feb 2023 21:13:24 +0800 Subject: [PATCH] Docs: fix tooltip model doc. (#11143) Co-authored-by: Leo Chen --- 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 bb893e176..03cf8a467 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, -- 2.47.3