Iteration on legend, works quite nicely now, with animations. Still a lot to, hardcoded values and FIXME/TODO items