Is there an easy way to provide some basic statistics (RMS for x and y, total number of items etc.) in a legend, like ROOT does:
or should I calculate those values manually and add a textbox? How would I do that, since annotating with text needs many styling options and seems way too complicated for such a simple thing…