In general, labels for ships of a single class are aligned vertically with the topmost ship in a column carrying the class name.
In an attempt to show the full timeline of the actual existence of each ship, the final dates on each bar may variously be the date struck, sold, scrapped, scuttled, sunk as a reef, etc., as appropriate to show last time it existed as a floating object.