From: Evert Timberg Date: Sat, 5 Feb 2022 14:13:05 +0000 (-0500) Subject: Type Chart.legend property (#10130) X-Git-Tag: v3.7.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49dc77ec0ba98996f33256de84d8f3840f15203d;p=thirdparty%2FChart.js.git Type Chart.legend property (#10130) --- diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index 241de62a1..6bf0ae147 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -490,6 +490,7 @@ export declare class Chart< readonly scales: { [key: string]: Scale }; readonly attached: boolean; + readonly legend?: LegendElement; // Only available if legend plugin is registered and enabled readonly tooltip?: TooltipModel; // Only available if tooltip plugin is registered and enabled data: ChartData;