Add legend to end of results table