Might not be easily done (at least not with simple graphs, you can use pictures though). Hover labels do have quite good documentation in JMP Help site
A required script that adds a thumbnail of a graph or an image to the hover label.
Picture() is always executed in a Hover Label Execution Context derived from the current visual element. The first Picture Box (outside of a local data filter) found will be used to generate the displayed image.
And indeed, Jmp 16 and Jmp17 behave different here:
On Jmp16, the data filter is always added after the initialization of the graph - even if the data filter is part of the Graph Builder code. Therefore, for both plots, the range is locked via Lock Scales( 1 ) to the full range -> both plots look the same.
On Jmp17, if the data filter is part of the GraphBuilder code (second graph), the data filter is added immediately.
Therefore the axis ranges of the second plot are restricted to the filtered data.
-> new: If needed, one has to specify the axis ranges manually.