- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
saving html with multiple plot
I try to open two graph builder through scriptting.Just because I want to plot mutiple charts and save it into a html file.The following JSL script only pop up the windows with the chart,but the HTML didn't form.Could anyone help me to debug this script.Thx!!
dt= Open( "****.xlsx" );
New Windows("mt report",
Graph Builder(.....);
Graph Builder(.....);
);
Rep = dt << report ;
Rep << Save Interactive HTML("C:\Users\123\Desktop\Test.html");
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: saving html with multiple plot
You are mistakenly pointing to the data table handle when referencing the report output. Report output is the result of a JMP Platform. I suggest you place your output into a Border Box() and then save it to HTML.
See
Help==>Scripting Index
for what objects can be issued the << Save HTML message
dt= Open( "****.xlsx" );
New Window("mt report",
nwBB = Border box(
V List Box(
Graph Builder(.....);
Graph Builder(.....);
)
)
);
nwBB << Save Interactive HTML("C:\Users\123\Desktop\Test.html");
;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: saving html with multiple plot
You are mistakenly pointing to the data table handle when referencing the report output. Report output is the result of a JMP Platform. I suggest you place your output into a Border Box() and then save it to HTML.
See
Help==>Scripting Index
for what objects can be issued the << Save HTML message
dt= Open( "****.xlsx" );
New Window("mt report",
nwBB = Border box(
V List Box(
Graph Builder(.....);
Graph Builder(.....);
)
)
);
nwBB << Save Interactive HTML("C:\Users\123\Desktop\Test.html");
;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: saving html with multiple plot
Also, change "New Windows" to "New Window".