activity legend