Hello,
Here is my script:
Names Default To Here( 1 );
cwd = "...";
//dt = Open("....jmp");
//thumbSize = {400, 400};
scaleValue = 1.0;
gb = Graph Builder(
Size( 604, 492 ),
Variables( X( :Mois ), Y( :"A"n ) ),
Elements( Points( X, Y, Legend( 4 ) ) )
);
gb = Graph Builder(
Size( 604, 492 ),
Variables( X( :Semaine ), Y( :B ), Group X( :Produit ) ),
Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) )
);
frames = (gb << report) << xpath( "//FrameBox" );
Show( N Items( frames ) );
frames << Set Graphlet(
Picture(
Picture Box(
fileName = cwd || :Name( "Quantième +n°cuve" )[local:_firstRow] || ".jpg";
Show( fileName );
img = Open( fileName, "jpg" );
img << scale( scaleValue );
img;
)
),
//Thumbnail( thumbSize )
);
First of all, I didn't put "Thumbnail" in the script, because other users have JMP 15. The image still displays very well, in standard size thumbnail (170 x 200). "scalevalue" is used to display the photo of a certain size when you click on the thumbnail image? That's it ?
Then, I made a script to generate two charts
Images appear in the label only on the second (multipart) graphic, not on the first graphic.
However, in my second graphic the thumbnail problem is fixed, I have images in my labels on all parts.
I would like to find a way for the last part of the script (showing photos in the label) to be used for all previous graphics (there are actually a lot more than 2) so that the photos are in the thumbnails of all graphics. Is it possible ?
Thank you
Have a good day