Add fit method to LegendElement interface (#11796)

This commit is contained in:
Michel Machado 2024-05-31 09:43:46 -03:00 committed by GitHub
parent ff740789a5
commit 4ee6c9e279
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2344,6 +2344,7 @@ export interface LegendElement<TType extends ChartType> extends Element<AnyObjec
ctx: CanvasRenderingContext2D;
legendItems?: LegendItem[];
options: LegendOptions<TType>;
fit(): void;
}
export interface LegendOptions<TType extends ChartType> {