Collapses a raw value to one line and truncates it to ~80 chars, so previews stay compact in the popover and legend. Shared by both.
Collapses a raw value to one line and truncates it to ~80 chars, so previews stay compact in the popover and legend. Shared by both.