The interactive prop defines if the legend is clicable or not. When enabled the user can click on the legend entry and toggle the data serie between hidden and visible.
The orientation prop defines if the legend is vertical or horizontal.
The position prop controlls the position of the legend.
The turncateAt prop defines at what length should be the ticks label turncated. Please not that the charts are not using monospace characters, however it is not possible to inject css onto svg pictures.
When the wrapText is set to true and the turncateAt is set instead of truncating at the position it will insert newlines, wrapping the text. This method also has problems with the non monospace characters used in the charts.
Generated using TypeDoc
The hasTooltip defines if the chart legend entries show tooltip when howered. The tooltip currently only display the tooltipText from the legend entry.
false
ChartLegendEntry.tooltipText