- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Eliminating Empty Space in HTML when converting from Jmp Journal
Hi -
I need some guidance to eliminate empty space observed between plots in HTML file when it is converted from a journal.
I am using the following JSL code. Journal looks as expected but HTML has spacing between plots and table.
Names Default To Here( 1 );
bigClass = Open( "$SAMPLE_DATA/Big Class.JMP" );
dt = Current Data Table();
nw = New Window( "BigClass", <<journal, vlb = v List Box() );
vlb << Append ( dt << bivariate( x( :weight ), y( :height ) ) );
vlb << Append (dt << oneway( x( :sex ), y( :height ) ));
outfile = "$TEMP\Out.html";
nw<<SaveHTML(outfile);
Pointers or recommendations are welcome. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Eliminating Empty Space in HTML when converting from Jmp Journal
Here is the output that I am getting. On the left is the journal, on the right is the HTML output. I am running a Windows 10 PC with JMP 16.1.
What white space needs to be eliminated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Eliminating Empty Space in HTML when converting from Jmp Journal
Would saving as Interactive HTML using the following work for you?
nw << Save Interactive HTML(outfile);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Eliminating Empty Space in HTML when converting from Jmp Journal
Thanks so much, John. Saving as Interactive HTML does get rid of the empty space.
I am using Jmp 12.2. Is there a way to blend the plot background with HTML background?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Eliminating Empty Space in HTML when converting from Jmp Journal
I don't have JMP 12, but with JMP 13, I was able to hack the output by removing the .darkBackground and .border styles.
If that works for you, maybe someone on the JMP community could offer a way to do this with JSL. However, it's not recommended to modify the output as it could have unexpected side effects.
Please also note that when you use Interactive HTML, your data are included in the output whereas it is not with plain HTML. In recent versions of JMP, you can output Interactive HTML without including the data, by publishing with 'Publish Data' disabled. When you do, interactivity is limited to opening and closing graphs in the report, because data are required to provide interaction within the graphs.