As of JMP 16, you can add labels to a line element by right clicking on the line in the legend and selecting one of the Label options, which include name, min, max, first, and last. Here's an example:
Screen Shot 2022-06-30 at 3.53.55 PM.png
Ross Metusalem
JMP Academic Ambassador