Type Chart.legend property (#10130)

This commit is contained in:
Evert Timberg 2022-02-05 09:13:05 -05:00 committed by GitHub
parent 56661e448d
commit 49dc77ec0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -490,6 +490,7 @@ export declare class Chart<
readonly scales: { [key: string]: Scale };
readonly attached: boolean;
readonly legend?: LegendElement<TType>; // Only available if legend plugin is registered and enabled
readonly tooltip?: TooltipModel<TType>; // Only available if tooltip plugin is registered and enabled
data: ChartData<TType, TData, TLabel>;