Adds example for display-segment.