[TASK] legend formatting updated