Unfortunately, Fit Y by X doesn't support line selection. What you've selected is only the label in the legend.
Fortunately, as I showed above the same graph can be created in Graph Builder where the line is selectable.
If you'd like for lines to be selectable in the Fit Y by X platform, be sure to enter a suggestion in the JMP Wish List.
-Jeff