Hello!
I have learned how to automatically create, insert & update JMP graphs into PowerPoint via jsl script (see below script & reference). Now, I want to be able to specify a couple more items regarding these graphs:
1. WHERE on the PowerPoint slide it is to be
2. add a picture border to the graph in the PowerPoint slide
Here is my current script, which virtually opens the data, makes the graph, saves it, inserts it into PPoint, and then opens the PPoint.
******************************************************************************************************
Names Default To Here( 1 );
dt = Open( "Blood_Pressure_Testing.jmp", invisible );
biv = dt << Graph Builder(
Size( 826, 596 ),
Show Control Panel( 0 ),
Variables( X( :Subject ), Y( :Dose ), Color( :BP 8M ) ),
Elements( Points( X, Y, Legend( 19 ) ) ),
Local Data Filter( Close Outline( 1 ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
19,
Properties(
0,
{gradient( {Color Theme( "Jet"(1) ), Discrete Colors( 1 )} )},
Item ID( "BP 8M", 1 )
),
Properties( 1, {Marker( "Filled Diamond" )}, Item ID( "Dose", 1 ) )
)}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "XXXXXXX" )} )
)
);
Report( biv )[Outline Box( 1 )] << Set title( "This is my title" );
//test comment - this works
Report( biv ) << journal;
biv << close window;
jour = Current Journal();
jour << Save Presentation( "<path to save>" );
Open( "<path to PowerPoint" );
******************************************************************************************************
Thanks for the help!