cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
markus
Level IV

Hover Label in interactive html

I have defined a column as label, because I want to see the data in my standard graphs. But I don't want to see these in the corresponding interactive html. So before saving the chart in html I deactivated the hover label in the script: 

Dispatch( {}, "Control Chart Builder", FrameBox( 2 ), {Set Gridlet( Expunge( {{Matcher( "Text" )}} ) )} )

In the standard graph this deactives the label as it should but not in its interactive html.

How can I bring this deactivation to html, too?

 

Thanks for help in advance

Markus

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hover Label in interactive html

Hi Markus, 

 

Interactive HTML is a subset of JMP's capabilities made possible with JavaScript programming and the capabilities provided by internet browsers. The reason this doesn't work is that Gridlet and Graphlet support are controlled by JSL(JMP Scripting Language) and our JavaScript code cannot interpret and execute JSL code.

 

Support for hover labels in Interactive HTML imitates JMP hover labels capabilities that existed before Gridlets and Graphlets were introduced in JMP using the data stored in the HTML file. 

 

To share JMP reports in an HTML format with hover labels suppressed I can suggest two possibilities. These options disable all interactivity for your reports, not just hover labels in Control Chart Builder graphs, so it might not be exactly what you're looking for.

1. Export to HTML rather than Interactive HTML.

2. Publish to File and disable Publish Data on the second dialog:

DisablePublishData.PNG

I hope this helps, 

- John

 

View solution in original post

5 REPLIES 5

Re: Hover Label in interactive html

Hi Markus, 

 

Interactive HTML is a subset of JMP's capabilities made possible with JavaScript programming and the capabilities provided by internet browsers. The reason this doesn't work is that Gridlet and Graphlet support are controlled by JSL(JMP Scripting Language) and our JavaScript code cannot interpret and execute JSL code.

 

Support for hover labels in Interactive HTML imitates JMP hover labels capabilities that existed before Gridlets and Graphlets were introduced in JMP using the data stored in the HTML file. 

 

To share JMP reports in an HTML format with hover labels suppressed I can suggest two possibilities. These options disable all interactivity for your reports, not just hover labels in Control Chart Builder graphs, so it might not be exactly what you're looking for.

1. Export to HTML rather than Interactive HTML.

2. Publish to File and disable Publish Data on the second dialog:

DisablePublishData.PNG

I hope this helps, 

- John

 

markus
Level IV

Re: Hover Label in interactive html

Thanks John,

for your suggestions!

I think your second option is a way for me.

 

Best Regards

Markus

 

markus
Level IV

Re: Hover Label in interactive html

I found also another workaround - perhaps not that elegant as yours:

I created another file in the script without the labeled columns and saved this as interactive html and closed the file and dashboard with the script after saving.

 

Markus

Re: Hover Label in interactive html

Hi Markus, 

 

That's a great idea because you don't need to lose interactivity on the web.

 

If you don't need to keep a separate file with no labeled columns, you could just remove the labeling property from all labeled columns before saving as Interactive HTML and not save the changed table.

 

If dt, is the data table you're working with, the following JSL clears the labeling property of all columns.   

dt << Set Label Columns();

 This should be faster than creating another data table, especially if you have many rows in your data table. 

 

Cheers, 

-John 

markus
Level IV

Re: Hover Label in interactive html

Good idea! Thanks!