cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

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

simon_2
Level III

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.