Skip to content

Commit

Permalink
Type Chart.legend property (#10130)
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Feb 5, 2022
1 parent 56661e4 commit 49dc77e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.esm.d.ts
Expand Up @@ -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>;
Expand Down

0 comments on commit 49dc77e

Please sign in to comment.