From: leo2436 <58366762+leo2436@users.noreply.github.com> Date: Wed, 15 Feb 2023 13:13:24 +0000 (+0800) Subject: Docs: fix tooltip model doc. (#11143) X-Git-Tag: v4.3.0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=120b72eaae7ed9996458b60347a2f967edd470cc;p=thirdparty%2FChart.js.git Docs: fix tooltip model doc. (#11143) Co-authored-by: Leo Chen --- 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,