Hi all,
Found myself trying to fit some content into a donut's legend and failing, I've got some recommendations for tweaks, and I wonder if anyone has views before I add it to the feature requests section
Context:

The legend's width is totally fixed, and the scoll bar only accounts for the size of the trimmed text not the original. (ie, the scroll is fairly useless, once your content is cut off it's gone)

The legend should scale in width proportional to the parent element.
- Seems to be currently cutting the legend off at a fixed size, then splitting the remaining in two to place the pie in the centre of the split with a height/width equal to the smaller axis
- Perhaps give the legend a 3rd?
- And/Or calculate the ideal maximum sizes of the pie (at radius = height of the element) and to the legend as the width of the untrimmed text + icons with some miniumums simmilar to current values and seperate by whitespace elements with small minimums.
- If the untrimmed text can be evaluated this way, it'd let you place the ellipsis dynamically at the edge of the element and then you get a useful scroll bar.
-This doesnt quite work for very tall elements, but perhaps could set the size of the pie at the
Something like that, I'm not a frontend dev 