Theicon enables you to show the length of a cable.

After clicking on theicon on the Main Toolbar, use the pointer to draw a line above the cable, then enter its length in the Properties Panel.

.

Note that the length of the measurement line on the diagram is purely symbolic and not proportional to the length of the conductors or cables on the schematic.