To change the line to a vertical orientation simply modify the object size so height is greater than the width.