dates in legend