Feature Proposal
Noticed that the legend property is missing from the type definition of the ref.current object that's attached to the Chart instance.
Console.log of the ref.current property:

Possible Implementation
I'd like to add this myself, but not sure how to contribute to the project
Hopefully it's just a matter of adding legend: LegendElement<ChartType> to the list of readonly properties in the class definition of Chart (here if I'm not being clear:
|
readonly config: ChartConfiguration<TType, TData, TLabel>; |
)
Again more than happy to create a PR myself but a bit confused on how to 😅
Thanks for any help/info you can give me!
Feature Proposal
Noticed that the
legendproperty is missing from the type definition of theref.currentobject that's attached to theChartinstance.Console.log of the

ref.currentproperty:Possible Implementation
I'd like to add this myself, but not sure how to contribute to the project
Hopefully it's just a matter of adding
legend: LegendElement<ChartType>to the list ofreadonlyproperties in the class definition ofChart(here if I'm not being clear:Chart.js/types/index.esm.d.ts
Line 483 in 56661e4
Again more than happy to create a PR myself but a bit confused on how to 😅
Thanks for any help/info you can give me!