cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
simon_2
Level III

How can I highlight data points when clicking on legend in interactive HTML?

I have a bivariate chart saved as interactive HTML. I would like to be able to select a legend and highlight points on the chart. Is it possible to do this using JSL? 

 

This is the chart after saving as interactive HTML.

simon_2_0-1648842076350.png

 

 

Here is the JSL script:

 

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

biv = dt << Bivariate(
	Y( :height ),
	X( :weight ),
	SendToReport(
		Dispatch(
			{},
			"Bivar Plot",
			FrameBox,
			{Frame Size( 448, 348 ), Row Legend(
				sex,
				Color( 1 ),
				Color Theme( "JMP Default" ),
				Marker( 1 ),
				Marker Theme( "Standard" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
			)}
		)
	)
);

rbiv = biv << report;
rbiv << Save Interactive HTML( "height_weight_chart.html" );

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How can I highlight data points when clicking on legend in interactive HTML?

Legends aren't interactive in Interactive HTML, unfortunately. But you can achieve something close using a dashboard:

 

Jordan_Hiller_0-1648844096349.png

 

View solution in original post

4 REPLIES 4

Re: How can I highlight data points when clicking on legend in interactive HTML?

Legends aren't interactive in Interactive HTML, unfortunately. But you can achieve something close using a dashboard:

 

Jordan_Hiller_0-1648844096349.png

 

simon_2
Level III

Re: How can I highlight data points when clicking on legend in interactive HTML?

Thanks

Re: How can I highlight data points when clicking on legend in interactive HTML?

Thanks for your question, @simon_2. In JMP 17, HTML5 supports interactive legends in Graph Builder reports. 

 

bfricke_0-1649431486761.png

 

simon_2
Level III

Re: How can I highlight data points when clicking on legend in interactive HTML?

 Cool. Looking forward to using JMP 17.