Choose Language Hide Translation Bar
ron_horne
Super User

Remove non labels from hovering information

Hi All,

I was wondering if the is a way to define that coordinates will not be shown when hovering the cursor over points?

By default, when hovering the cursor over a point in any graph, the label is given together with the coordinates.  I would like only the labels to be shown. In the example picture, I would like not to see the height and weight but just the name.

2222.png

Thank you!

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
julian
Staff

Re: Remove non labels from hovering information

Hi @ron_horne

 

As far as I know, there is not an out-of-the-box method for suppressing the default hover label data, even with the Hover Label Editor options now available in JMP 15. The Hover Label Editor will let you add additional information (and graphics!) to the hover, but any variable used in a data graphing or decoration role (i.e., X , Y, Overlay, Color, and Size) will always be included in the hover. 

 

EDIT:

After some prompting by @markbailey who was sure he saw a way to do this, I investigated further and there is indeed a way to do what you need. You'll use the "Gridlet" option in the hover label editor, where you have the option to modify existing labels by name. Here's how you would do it for your example using Big Class:

 

  1.  Enter the Hover Label editor by right-clicking the graph > Hover Label > Hover Label Editor
  2. Select the Gridlet section on the left
  3. In the "Delete" tab (the first tab at the top) we may enter the name of the variables we would like to remove from the Hover Label. I'll enter "height" and click Add, and then "weight" and click Add. Do not quote these entries when entering them (even though they will appear quoted once added).Screen Shot 2019-11-07 at 12.07.39 PM.png

Your hover label will now show only the labeled column of Name:

 

Screen Shot 2019-11-07 at 12.09.28 PM.png

 

I hope this helps, and thanks @markbailey for the correction!

 

@julian 

View solution in original post

9 REPLIES 9
gzmorgan0
Super User

Re: Remove non labels from hovering information

@ron_horne,

 

The only method I know of would require a custom display: 

  • Turn off the report preference of  Hover Help.
  • Encapsulate graph with a  MouseBox container that tracks and whose function displays the row label.

 

It will be interesting is there is a method to do this. If not, this would make a good wishlist item: add a Graph Preference toggle option to show point "values"  (similalry for point "labels"?) .

0 Kudos
ron_horne
Super User

Re: Remove non labels from hovering information

thanks @gzmorgan0  for the tip.

digging a bit further i found this hover label editor. but there is no reference to it anywhere. Perhaps it is hiding somewhere in this feature.

111.png

0 Kudos
stan_koprowski
Community Manager Community Manager

Re: Remove non labels from hovering information

Hi @ron_horne 

Link to information regarding editing hover labels and customization. 

You will find options for textlets, graphlets, and gridlets. 

cheers,

Stan

 

ron_horne
Super User

Re: Remove non labels from hovering information

thank you @stan_koprowski ,

this is a step in the right direction.

 

julian
Staff

Re: Remove non labels from hovering information

Hi @ron_horne

 

As far as I know, there is not an out-of-the-box method for suppressing the default hover label data, even with the Hover Label Editor options now available in JMP 15. The Hover Label Editor will let you add additional information (and graphics!) to the hover, but any variable used in a data graphing or decoration role (i.e., X , Y, Overlay, Color, and Size) will always be included in the hover. 

 

EDIT:

After some prompting by @markbailey who was sure he saw a way to do this, I investigated further and there is indeed a way to do what you need. You'll use the "Gridlet" option in the hover label editor, where you have the option to modify existing labels by name. Here's how you would do it for your example using Big Class:

 

  1.  Enter the Hover Label editor by right-clicking the graph > Hover Label > Hover Label Editor
  2. Select the Gridlet section on the left
  3. In the "Delete" tab (the first tab at the top) we may enter the name of the variables we would like to remove from the Hover Label. I'll enter "height" and click Add, and then "weight" and click Add. Do not quote these entries when entering them (even though they will appear quoted once added).Screen Shot 2019-11-07 at 12.07.39 PM.png

Your hover label will now show only the labeled column of Name:

 

Screen Shot 2019-11-07 at 12.09.28 PM.png

 

I hope this helps, and thanks @markbailey for the correction!

 

@julian 

View solution in original post

ron_horne
Super User

Re: Remove non labels from hovering information

Thank you @julian 

For me this would be quite useful in case of dots on a map. Most times i need other information than the coordinates.

0 Kudos
julian
Staff

Re: Remove non labels from hovering information

Hey @ron_horne,
Please see my updated reply above -- there is indeed a way to do this.
@julian
0 Kudos
Highlighted
ron_horne
Super User

Re: Remove non labels from hovering information

Diabolical!

0 Kudos

Re: Remove non labels from hovering information

Thanks @julian and @markbailey for the correct solution.

@ron_horne:You could make your hoverlabel customization more dynamic by taking advantage of the different types of Matching Criteria supported by the Gridlet operators. Let's say you are still experimenting with your graph, and assigning different variables to the X and Y roles. You could refer to the entries you want to remove by Index (one of the options under the Matching Criteria dropbox) and add delete operators for 2 or 3 entries after the first one, which contains the label you want to see.

You can even delete all entries and then use the Append operator to add any content you want - even the values for columns that don't have the Label flag set.