align legend and strokes