The rest prop is used to pass any other props to the legend entry. This prop will not overwrite the custom functionality added by the library.
The childName prop defines the name of the connected serie. This is used in the interactive legend to reference the correct series when the legend is clicked.
The name prop defines the displayed name for the entry.
The tooltipText prop defines the tooltip when hoverin over the legend entry. If not defined the default tootilp is the name.
It is advised to add the name to the tooltip when not wrapping the legend. Otherwise the name could be too long to display and the users will have no way to read it in the whole length.
Generated using TypeDoc
The ChartLegendEntry defines a single entry in the legend.