ActivityMonitor: allow legend to use full width...

...for the last item when an odd number of items is used in a graph.

Fixes #7262.