cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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.

Recommended Articles