cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
uProf
Level III

Hover label on data in Interactive HTML not working

Hi -

 

Hovering over data point in Interactive Html, I am expecting to see label data come through but it is not working as expected.

 

uProf_0-1634917248131.png

uProf_1-1634917366159.png

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

nw = New Window( "Journal_1", <<journal, vlb = V List Box()  );

gb = Graph Builder(
	Size( 529, 466 ),
	Show Control Panel( 0 ),
	Automatic Recalc( 0 ),
	Variables( X( :name ), Y( :height ) ),
	Elements( Smoother( X, Y, Legend( 9 ) ), Points( X, Y, Legend( 10 ) ) )
);
vlb << append( report( gb ) );
nw << save Interactive HTML( "$TEMP\test.html"	); 
open( "$TEMP\test.html"	);

Using Jmp 12.2. Am I missing any setting? Appreciate feedback. 

 

Thanks!

4 REPLIES 4

Re: Hover label on data in Interactive HTML not working

I think the problem is that you are saving a journal. The journal is not interactive like Graph Builder. The hover labels work in this modification:

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

nw = New Window( "Test Hover Label",
	dt << Graph Builder(
		Size( 529, 466 ),
		Show Control Panel( 0 ),
		Automatic Recalc( 0 ),
		Variables( X( :name ), Y( :height ) ),
		Elements( Smoother( X, Y, Legend( 9 ) ), Points( X, Y, Legend( 10 ) ) )
	);
);

nw << save Interactive HTML( "$TEMP\test.html" );
Open( "$TEMP\test.html" );
uProf
Level III

Re: Hover label on data in Interactive HTML not working

Thank you Mark. Tried your suggestion in Jmp 12.2.0 but I see no difference. Hovering over data point in HTML only shows 'This feature is not yet interactive' message.

 

 

 

Re: Hover label on data in Interactive HTML not working

It was added after JMP 12.

Re: Hover label on data in Interactive HTML not working

That's correct. We didn't add Interactive HTML support for Graph Builder until JMP 13. 

 

Interactive HTML support expands in every release of JMP. For any version of JMP, you will get a warning when you export or save as Interactive HTML when there's something in the report that is not supported yet. The warning will tell you to look in the log to find more details.

 

For a graph that plots Big Class student's heights by name,  in JMP 12, you could get Interactive HTML output by using the 'Fit Y by X' or 'Oneway' platform.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

nw = New Window( "Test Hover Label",
	dt << Oneway( Y( :height ), X( :name ) );
);

nw << save Interactive HTML( "$TEMP\test.html" );
Open( "$TEMP\test.html" );

Instead of a smoother, you will get a Grand Mean line.

John_Powell_JMP_0-1635003575071.png

Hope this helps, 

~John