Add graph legend