- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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:
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How can I highlight data points when clicking on legend in interactive HTML?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How can I highlight data points when clicking on legend in interactive HTML?
Cool. Looking forward to using JMP 17.