<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using get picture seems to act differently with Graph Builder than with a Dashboard in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-get-picture-seems-to-act-differently-with-Graph-Builder/m-p/635994#M83407</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="big class summary.jpg" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53159i3F200B55893706F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="big class summary.jpg" alt="big class summary.jpg" /&gt;&lt;/span&gt;I am creating images from Graph Builder and a Dashboard using the "get picture" function in JSL and inserting the images into an expression column in a table.&amp;nbsp; Everything works as expected when doing this from Graph Builder.&amp;nbsp; But when I use the "get picture" function from a Dashboard, my expression column doesn't include an image but instead a script that looks like: "{New Image(Char to Blob(....)}".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use JSL to strip off the opening bracket (i.e. "{" ) and the closing bracket (i.e., "}" ), then use JSL that looks like: eval(parse( "New Image..." )), then everything works and I get my dashboard as an image in the expression column.&amp;nbsp; Any ideas what is happening or what I should do differently?&amp;nbsp; BTW, I am using JMP 17.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I generated an example using the Big Class sample dataset.&amp;nbsp; The summary table with the expression column has a graphing script that allows you to hover over the points to see the graphs.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$sample_data/big class.jmp" );

//create a graph to save as a picture
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 534, 456 ),
	Show Control Panel( 0 ),
	Grid Color( "White" ),
	Level Spacing Color( "White" ),
	Graph Spacing( 5 ),
	Spacing Borders( 1 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) )
);
rgb = gb &amp;lt;&amp;lt; report;
gbpic = rgb &amp;lt;&amp;lt; get picture;
rgb &amp;lt;&amp;lt; close window;

//create a dashboard
dash = JMP App(
	Set Name( "Dashboard" ),
	Set Description( "Description" ),
	Auto Launch( 1 ),
	Snap To Grid( 1 ),
	Show Grid( 1 ),
	Show Properties( 0 ),
	Show Sources( 1 ),
	Group By Category( 0 ),
	Dashboard Mode( 1 ),
	Parameters,
	Tables( DataTable1 = dt ),
	Script( JSL Quote() ),
	Allocate(
		Module1 = Plan(
			PreAllocate,
			Script(JSL Quote(
					OnModuleLoad({},);
					thisModuleInstance &amp;lt;&amp;lt; Create Objects;
					Try(TabPage3 &amp;lt;&amp;lt; Set Scriptable Object(thisApplication));
				)			),
			Allocate(
				TabPage3 = Tab Page Box();
				Splitter1 = H Splitter Box();
				TabPage1 = Tab Page Box();
				Scroll1 = Scroll Box();
				Report1 = Platform(
					DataTable1,
					Distribution(
						Stack( 1 ),
						Continuous Distribution( Column( :height ), Horizontal Layout( 1 ), Vertical( 0 ), Customize Summary Statistics( Sum( 1 ) ) ),
						Continuous Distribution( Column( :weight ), Horizontal Layout( 1 ), Vertical( 0 ), Customize Summary Statistics( Sum( 1 ) ) )
					)
				);
				TabPage2 = Tab Page Box();
				Scroll2 = Scroll Box();
				Report2 = Platform(
					DataTable1,
					Graph Builder(
						Size( 607, 535 ),
						Show Control Panel( 0 ),
						Fit to Window,
						Grid Color( "White" ),
						Level Spacing Color( "White" ),
						Graph Spacing( 5 ),
						Spacing Borders( 1 ),
						Variables( X( :height ), Y( :weight ) ),
						Elements( Points( X, Y, Legend( 6 ) ), Smoother( X, Y, Legend( 7 ) ) )
					)
				);
			),
			Organize(
				Reparent( Scroll2( Report2 ) );
				Reparent( TabPage2( Scroll2 ) );
				Reparent( Splitter1( TabPage2 ) );
				Reparent( Scroll1( Report1 ) );
				Reparent( TabPage1( Scroll1 ) );
				Reparent( Splitter1( TabPage1 ) );
				Reparent( TabPage3( Splitter1 ) );
				Relocate( TabPage3( 0, 0 ) );
			),
			Initialize(
				TabPage3 &amp;lt;&amp;lt; Background Color( "None" ), TabPage3 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage3 &amp;lt;&amp;lt; Enabled( 1 ), TabPage3 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ),
				TabPage3 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage3 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage3 &amp;lt;&amp;lt; Text Color( "None" ), TabPage3 &amp;lt;&amp;lt; UI Only( 0 ),
				TabPage3 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), TabPage3 &amp;lt;&amp;lt; Visibility( "Visible" ), TabPage3 &amp;lt;&amp;lt; Set Min Size( 262, 128 ),
				TabPage3 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), TabPage3 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), TabPage3 &amp;lt;&amp;lt; Title( "Dashboard" ),
				TabPage3 &amp;lt;&amp;lt; Tip( "" ), TabPage3 &amp;lt;&amp;lt; Icon( "" ), TabPage3 &amp;lt;&amp;lt; Closeable( 0 ), TabPage3 &amp;lt;&amp;lt; Moveable( 0 ),
				TabPage3 &amp;lt;&amp;lt; Set Base Font( "Text" ), TabPage3 &amp;lt;&amp;lt; Set Font Scale( 1 ), Splitter1 &amp;lt;&amp;lt; Background Color( "None" ),
				Splitter1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Splitter1 &amp;lt;&amp;lt; Enabled( 1 ),
				Splitter1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Splitter1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Splitter1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Splitter1 &amp;lt;&amp;lt; Text Color( "None" ), Splitter1 &amp;lt;&amp;lt; UI Only( 0 ),
				Splitter1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Splitter1 &amp;lt;&amp;lt; Visibility( "Visible" ), Splitter1 &amp;lt;&amp;lt; Dockable( 1 ),
				Splitter1 &amp;lt;&amp;lt; Set Width( 1487 ), Splitter1 &amp;lt;&amp;lt; Set Height( 607 ), Splitter1 &amp;lt;&amp;lt; Set Sizes( {0.532345013477089, 0.467654986522911} ),
				Splitter1 &amp;lt;&amp;lt; Set Min Size( 262, 102 ), Splitter1 &amp;lt;&amp;lt; Set Max Size( 60003, 30000 ), Splitter1 &amp;lt;&amp;lt; Set Stretch( {"Window", "Window"} ),
				Splitter1 &amp;lt;&amp;lt; set horizontal( 1 ), TabPage1 &amp;lt;&amp;lt; Background Color( "None" ),
				TabPage1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage1 &amp;lt;&amp;lt; Enabled( 1 ),
				TabPage1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), TabPage1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage1 &amp;lt;&amp;lt; Text Color( "None" ), TabPage1 &amp;lt;&amp;lt; UI Only( 0 ),
				TabPage1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), TabPage1 &amp;lt;&amp;lt; Visibility( "Visible" ), TabPage1 &amp;lt;&amp;lt; Set Min Size( 72, 62 ),
				TabPage1 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), TabPage1 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), TabPage1 &amp;lt;&amp;lt; Title( "Distributions" ),
				TabPage1 &amp;lt;&amp;lt; Tip( "" ), TabPage1 &amp;lt;&amp;lt; Icon( "Distrib" ), TabPage1 &amp;lt;&amp;lt; Closeable( 1 ), TabPage1 &amp;lt;&amp;lt; Moveable( 1 ),
				TabPage1 &amp;lt;&amp;lt; Set Base Font( "Text" ), TabPage1 &amp;lt;&amp;lt; Set Font Scale( 1 ), Scroll1 &amp;lt;&amp;lt; Background Color( "None" ),
				Scroll1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll1 &amp;lt;&amp;lt; Enabled( 1 ),
				Scroll1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Scroll1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll1 &amp;lt;&amp;lt; Text Color( "None" ), Scroll1 &amp;lt;&amp;lt; UI Only( 0 ),
				Scroll1 &amp;lt;&amp;lt; User Resizable( {1, 1} ), Scroll1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Scroll1 &amp;lt;&amp;lt; Visibility( "Visible" ),
				Scroll1 &amp;lt;&amp;lt; Set Min Size( 72, 36 ), Scroll1 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), Scroll1 &amp;lt;&amp;lt; Set Stretch( {"Window", "Window"} ),
				Scroll1 &amp;lt;&amp;lt; Width( 790 ), Scroll1 &amp;lt;&amp;lt; Height( 581 ), Scroll1 &amp;lt;&amp;lt; Set Auto Scrollable( 1 ), Scroll1 &amp;lt;&amp;lt; Set Scrollers( 1, 1 ),
				Scroll1 &amp;lt;&amp;lt; Set Show Empty( 0 ), Scroll1 &amp;lt;&amp;lt; Set Clip Printing( 0 ), Report1 &amp;lt;&amp;lt; Background Color( "None" ),
				Report1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report1 &amp;lt;&amp;lt; Enabled( 1 ),
				Report1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Report1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report1 &amp;lt;&amp;lt; Text Color( "None" ), Report1 &amp;lt;&amp;lt; UI Only( 0 ),
				Report1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Report1 &amp;lt;&amp;lt; Visibility( "Visible" ), Report1 &amp;lt;&amp;lt; Set Min Size( 707, 498 ),
				Report1 &amp;lt;&amp;lt; Set Max Size( 707, 498 ), Report1 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), Report1 &amp;lt;&amp;lt; set horizontal( 0 ),
				TabPage2 &amp;lt;&amp;lt; Background Color( "None" ), TabPage2 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage2 &amp;lt;&amp;lt; Enabled( 1 ), TabPage2 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ),
				TabPage2 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage2 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage2 &amp;lt;&amp;lt; Text Color( "None" ), TabPage2 &amp;lt;&amp;lt; UI Only( 0 ),
				TabPage2 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), TabPage2 &amp;lt;&amp;lt; Visibility( "Visible" ), TabPage2 &amp;lt;&amp;lt; Set Min Size( 187, 102 ),
				TabPage2 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), TabPage2 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), TabPage2 &amp;lt;&amp;lt; Title( "Graph Builder" ),
				TabPage2 &amp;lt;&amp;lt; Tip( "" ), TabPage2 &amp;lt;&amp;lt; Icon( "Trellis" ), TabPage2 &amp;lt;&amp;lt; Closeable( 1 ), TabPage2 &amp;lt;&amp;lt; Moveable( 1 ),
				TabPage2 &amp;lt;&amp;lt; Set Base Font( "Text" ), TabPage2 &amp;lt;&amp;lt; Set Font Scale( 1 ), Scroll2 &amp;lt;&amp;lt; Background Color( "None" ),
				Scroll2 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll2 &amp;lt;&amp;lt; Enabled( 1 ),
				Scroll2 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Scroll2 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll2 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll2 &amp;lt;&amp;lt; Text Color( "None" ), Scroll2 &amp;lt;&amp;lt; UI Only( 0 ),
				Scroll2 &amp;lt;&amp;lt; User Resizable( {1, 1} ), Scroll2 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Scroll2 &amp;lt;&amp;lt; Visibility( "Visible" ),
				Scroll2 &amp;lt;&amp;lt; Set Min Size( 187, 76 ), Scroll2 &amp;lt;&amp;lt; Set Max Size( 30087, 30001 ), Scroll2 &amp;lt;&amp;lt; Set Stretch( {"Window", "Window"} ),
				Scroll2 &amp;lt;&amp;lt; Width( 694 ), Scroll2 &amp;lt;&amp;lt; Height( 581 ), Scroll2 &amp;lt;&amp;lt; Set Auto Scrollable( 1 ), Scroll2 &amp;lt;&amp;lt; Set Scrollers( 0, 0 ),
				Scroll2 &amp;lt;&amp;lt; Set Show Empty( 0 ), Scroll2 &amp;lt;&amp;lt; Set Clip Printing( 0 ), Report2 &amp;lt;&amp;lt; Background Color( "None" ),
				Report2 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report2 &amp;lt;&amp;lt; Enabled( 1 ),
				Report2 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Report2 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report2 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report2 &amp;lt;&amp;lt; Text Color( "None" ), Report2 &amp;lt;&amp;lt; UI Only( 0 ),
				Report2 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Report2 &amp;lt;&amp;lt; Visibility( "Visible" ), Report2 &amp;lt;&amp;lt; Set Min Size( 187, 76 ),
				Report2 &amp;lt;&amp;lt; Set Max Size( 30087, 30001 ), Report2 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), Report2 &amp;lt;&amp;lt; set horizontal( 0 )
			)
		)
	),
	Initialize(
		Module1 &amp;lt;&amp;lt; Auto Launch( 1 );
		Module1 &amp;lt;&amp;lt; Set Module Type( "Report" );
		Module1 &amp;lt;&amp;lt; Set Window Title( "^TABLENAME - ^APPNAME" );
	)
) &amp;lt;&amp;lt; Run;
rdash = dash &amp;lt;&amp;lt; get windows;
dashpic = rdash &amp;lt;&amp;lt; get picture;
rdash &amp;lt;&amp;lt; close window;
Close( dt, nosave );

//create a table for the pictures
dt2 = New Table( "big class summary" );
dt2 &amp;lt;&amp;lt; New Column( "ID", numeric, "nominal", formula( Row() ) );
dt2 &amp;lt;&amp;lt; New Column( "pic", expression );
dt2 &amp;lt;&amp;lt; add rows( 3 );
dt2 &amp;lt;&amp;lt; set label columns( :pic );
dt2 &amp;lt;&amp;lt; new table script(
	"graph",
	Graph Builder(
		Size( 495, 450 ),
		Show Control Panel( 0 ),
		Grid Color( "White" ),
		Level Spacing Color( "White" ),
		Graph Spacing( 5 ),
		Spacing Borders( 1 ),
		Variables( X( :ID ) ),
		Elements( Points( X, Legend( 4 ) ) )
	)
);
//add pictures
dt2:pic[1] = gbpic;
dt2:pic[2] = dashpic;

//remove {}'s from the dashboard script
	//remove initial open bracket, {
	dashpic1 = Munger( Char( dashpic ), 1, "{", "" );
	//remove last closing bracket, }
	dashpic2 = Munger( Char( dashpic1 ), 1, "}", "" );

//add picture to row 3
dt2:pic[3] = Eval( Parse( dashpic2 ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:32:21 GMT</pubDate>
    <dc:creator>tbidwell</dc:creator>
    <dc:date>2023-06-11T11:32:21Z</dc:date>
    <item>
      <title>Using get picture seems to act differently with Graph Builder than with a Dashboard</title>
      <link>https://community.jmp.com/t5/Discussions/Using-get-picture-seems-to-act-differently-with-Graph-Builder/m-p/635994#M83407</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="big class summary.jpg" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53159i3F200B55893706F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="big class summary.jpg" alt="big class summary.jpg" /&gt;&lt;/span&gt;I am creating images from Graph Builder and a Dashboard using the "get picture" function in JSL and inserting the images into an expression column in a table.&amp;nbsp; Everything works as expected when doing this from Graph Builder.&amp;nbsp; But when I use the "get picture" function from a Dashboard, my expression column doesn't include an image but instead a script that looks like: "{New Image(Char to Blob(....)}".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use JSL to strip off the opening bracket (i.e. "{" ) and the closing bracket (i.e., "}" ), then use JSL that looks like: eval(parse( "New Image..." )), then everything works and I get my dashboard as an image in the expression column.&amp;nbsp; Any ideas what is happening or what I should do differently?&amp;nbsp; BTW, I am using JMP 17.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I generated an example using the Big Class sample dataset.&amp;nbsp; The summary table with the expression column has a graphing script that allows you to hover over the points to see the graphs.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$sample_data/big class.jmp" );

//create a graph to save as a picture
gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 534, 456 ),
	Show Control Panel( 0 ),
	Grid Color( "White" ),
	Level Spacing Color( "White" ),
	Graph Spacing( 5 ),
	Spacing Borders( 1 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) )
);
rgb = gb &amp;lt;&amp;lt; report;
gbpic = rgb &amp;lt;&amp;lt; get picture;
rgb &amp;lt;&amp;lt; close window;

//create a dashboard
dash = JMP App(
	Set Name( "Dashboard" ),
	Set Description( "Description" ),
	Auto Launch( 1 ),
	Snap To Grid( 1 ),
	Show Grid( 1 ),
	Show Properties( 0 ),
	Show Sources( 1 ),
	Group By Category( 0 ),
	Dashboard Mode( 1 ),
	Parameters,
	Tables( DataTable1 = dt ),
	Script( JSL Quote() ),
	Allocate(
		Module1 = Plan(
			PreAllocate,
			Script(JSL Quote(
					OnModuleLoad({},);
					thisModuleInstance &amp;lt;&amp;lt; Create Objects;
					Try(TabPage3 &amp;lt;&amp;lt; Set Scriptable Object(thisApplication));
				)			),
			Allocate(
				TabPage3 = Tab Page Box();
				Splitter1 = H Splitter Box();
				TabPage1 = Tab Page Box();
				Scroll1 = Scroll Box();
				Report1 = Platform(
					DataTable1,
					Distribution(
						Stack( 1 ),
						Continuous Distribution( Column( :height ), Horizontal Layout( 1 ), Vertical( 0 ), Customize Summary Statistics( Sum( 1 ) ) ),
						Continuous Distribution( Column( :weight ), Horizontal Layout( 1 ), Vertical( 0 ), Customize Summary Statistics( Sum( 1 ) ) )
					)
				);
				TabPage2 = Tab Page Box();
				Scroll2 = Scroll Box();
				Report2 = Platform(
					DataTable1,
					Graph Builder(
						Size( 607, 535 ),
						Show Control Panel( 0 ),
						Fit to Window,
						Grid Color( "White" ),
						Level Spacing Color( "White" ),
						Graph Spacing( 5 ),
						Spacing Borders( 1 ),
						Variables( X( :height ), Y( :weight ) ),
						Elements( Points( X, Y, Legend( 6 ) ), Smoother( X, Y, Legend( 7 ) ) )
					)
				);
			),
			Organize(
				Reparent( Scroll2( Report2 ) );
				Reparent( TabPage2( Scroll2 ) );
				Reparent( Splitter1( TabPage2 ) );
				Reparent( Scroll1( Report1 ) );
				Reparent( TabPage1( Scroll1 ) );
				Reparent( Splitter1( TabPage1 ) );
				Reparent( TabPage3( Splitter1 ) );
				Relocate( TabPage3( 0, 0 ) );
			),
			Initialize(
				TabPage3 &amp;lt;&amp;lt; Background Color( "None" ), TabPage3 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage3 &amp;lt;&amp;lt; Enabled( 1 ), TabPage3 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ),
				TabPage3 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage3 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage3 &amp;lt;&amp;lt; Text Color( "None" ), TabPage3 &amp;lt;&amp;lt; UI Only( 0 ),
				TabPage3 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), TabPage3 &amp;lt;&amp;lt; Visibility( "Visible" ), TabPage3 &amp;lt;&amp;lt; Set Min Size( 262, 128 ),
				TabPage3 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), TabPage3 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), TabPage3 &amp;lt;&amp;lt; Title( "Dashboard" ),
				TabPage3 &amp;lt;&amp;lt; Tip( "" ), TabPage3 &amp;lt;&amp;lt; Icon( "" ), TabPage3 &amp;lt;&amp;lt; Closeable( 0 ), TabPage3 &amp;lt;&amp;lt; Moveable( 0 ),
				TabPage3 &amp;lt;&amp;lt; Set Base Font( "Text" ), TabPage3 &amp;lt;&amp;lt; Set Font Scale( 1 ), Splitter1 &amp;lt;&amp;lt; Background Color( "None" ),
				Splitter1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Splitter1 &amp;lt;&amp;lt; Enabled( 1 ),
				Splitter1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Splitter1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Splitter1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Splitter1 &amp;lt;&amp;lt; Text Color( "None" ), Splitter1 &amp;lt;&amp;lt; UI Only( 0 ),
				Splitter1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Splitter1 &amp;lt;&amp;lt; Visibility( "Visible" ), Splitter1 &amp;lt;&amp;lt; Dockable( 1 ),
				Splitter1 &amp;lt;&amp;lt; Set Width( 1487 ), Splitter1 &amp;lt;&amp;lt; Set Height( 607 ), Splitter1 &amp;lt;&amp;lt; Set Sizes( {0.532345013477089, 0.467654986522911} ),
				Splitter1 &amp;lt;&amp;lt; Set Min Size( 262, 102 ), Splitter1 &amp;lt;&amp;lt; Set Max Size( 60003, 30000 ), Splitter1 &amp;lt;&amp;lt; Set Stretch( {"Window", "Window"} ),
				Splitter1 &amp;lt;&amp;lt; set horizontal( 1 ), TabPage1 &amp;lt;&amp;lt; Background Color( "None" ),
				TabPage1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage1 &amp;lt;&amp;lt; Enabled( 1 ),
				TabPage1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), TabPage1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage1 &amp;lt;&amp;lt; Text Color( "None" ), TabPage1 &amp;lt;&amp;lt; UI Only( 0 ),
				TabPage1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), TabPage1 &amp;lt;&amp;lt; Visibility( "Visible" ), TabPage1 &amp;lt;&amp;lt; Set Min Size( 72, 62 ),
				TabPage1 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), TabPage1 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), TabPage1 &amp;lt;&amp;lt; Title( "Distributions" ),
				TabPage1 &amp;lt;&amp;lt; Tip( "" ), TabPage1 &amp;lt;&amp;lt; Icon( "Distrib" ), TabPage1 &amp;lt;&amp;lt; Closeable( 1 ), TabPage1 &amp;lt;&amp;lt; Moveable( 1 ),
				TabPage1 &amp;lt;&amp;lt; Set Base Font( "Text" ), TabPage1 &amp;lt;&amp;lt; Set Font Scale( 1 ), Scroll1 &amp;lt;&amp;lt; Background Color( "None" ),
				Scroll1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll1 &amp;lt;&amp;lt; Enabled( 1 ),
				Scroll1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Scroll1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll1 &amp;lt;&amp;lt; Text Color( "None" ), Scroll1 &amp;lt;&amp;lt; UI Only( 0 ),
				Scroll1 &amp;lt;&amp;lt; User Resizable( {1, 1} ), Scroll1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Scroll1 &amp;lt;&amp;lt; Visibility( "Visible" ),
				Scroll1 &amp;lt;&amp;lt; Set Min Size( 72, 36 ), Scroll1 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), Scroll1 &amp;lt;&amp;lt; Set Stretch( {"Window", "Window"} ),
				Scroll1 &amp;lt;&amp;lt; Width( 790 ), Scroll1 &amp;lt;&amp;lt; Height( 581 ), Scroll1 &amp;lt;&amp;lt; Set Auto Scrollable( 1 ), Scroll1 &amp;lt;&amp;lt; Set Scrollers( 1, 1 ),
				Scroll1 &amp;lt;&amp;lt; Set Show Empty( 0 ), Scroll1 &amp;lt;&amp;lt; Set Clip Printing( 0 ), Report1 &amp;lt;&amp;lt; Background Color( "None" ),
				Report1 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report1 &amp;lt;&amp;lt; Enabled( 1 ),
				Report1 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Report1 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report1 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report1 &amp;lt;&amp;lt; Text Color( "None" ), Report1 &amp;lt;&amp;lt; UI Only( 0 ),
				Report1 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Report1 &amp;lt;&amp;lt; Visibility( "Visible" ), Report1 &amp;lt;&amp;lt; Set Min Size( 707, 498 ),
				Report1 &amp;lt;&amp;lt; Set Max Size( 707, 498 ), Report1 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), Report1 &amp;lt;&amp;lt; set horizontal( 0 ),
				TabPage2 &amp;lt;&amp;lt; Background Color( "None" ), TabPage2 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage2 &amp;lt;&amp;lt; Enabled( 1 ), TabPage2 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ),
				TabPage2 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage2 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), TabPage2 &amp;lt;&amp;lt; Text Color( "None" ), TabPage2 &amp;lt;&amp;lt; UI Only( 0 ),
				TabPage2 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), TabPage2 &amp;lt;&amp;lt; Visibility( "Visible" ), TabPage2 &amp;lt;&amp;lt; Set Min Size( 187, 102 ),
				TabPage2 &amp;lt;&amp;lt; Set Max Size( 30000, 30000 ), TabPage2 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), TabPage2 &amp;lt;&amp;lt; Title( "Graph Builder" ),
				TabPage2 &amp;lt;&amp;lt; Tip( "" ), TabPage2 &amp;lt;&amp;lt; Icon( "Trellis" ), TabPage2 &amp;lt;&amp;lt; Closeable( 1 ), TabPage2 &amp;lt;&amp;lt; Moveable( 1 ),
				TabPage2 &amp;lt;&amp;lt; Set Base Font( "Text" ), TabPage2 &amp;lt;&amp;lt; Set Font Scale( 1 ), Scroll2 &amp;lt;&amp;lt; Background Color( "None" ),
				Scroll2 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll2 &amp;lt;&amp;lt; Enabled( 1 ),
				Scroll2 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Scroll2 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll2 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Scroll2 &amp;lt;&amp;lt; Text Color( "None" ), Scroll2 &amp;lt;&amp;lt; UI Only( 0 ),
				Scroll2 &amp;lt;&amp;lt; User Resizable( {1, 1} ), Scroll2 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Scroll2 &amp;lt;&amp;lt; Visibility( "Visible" ),
				Scroll2 &amp;lt;&amp;lt; Set Min Size( 187, 76 ), Scroll2 &amp;lt;&amp;lt; Set Max Size( 30087, 30001 ), Scroll2 &amp;lt;&amp;lt; Set Stretch( {"Window", "Window"} ),
				Scroll2 &amp;lt;&amp;lt; Width( 694 ), Scroll2 &amp;lt;&amp;lt; Height( 581 ), Scroll2 &amp;lt;&amp;lt; Set Auto Scrollable( 1 ), Scroll2 &amp;lt;&amp;lt; Set Scrollers( 0, 0 ),
				Scroll2 &amp;lt;&amp;lt; Set Show Empty( 0 ), Scroll2 &amp;lt;&amp;lt; Set Clip Printing( 0 ), Report2 &amp;lt;&amp;lt; Background Color( "None" ),
				Report2 &amp;lt;&amp;lt; Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report2 &amp;lt;&amp;lt; Enabled( 1 ),
				Report2 &amp;lt;&amp;lt; Horizontal Alignment( "Default" ), Report2 &amp;lt;&amp;lt; Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report2 &amp;lt;&amp;lt; Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ), Report2 &amp;lt;&amp;lt; Text Color( "None" ), Report2 &amp;lt;&amp;lt; UI Only( 0 ),
				Report2 &amp;lt;&amp;lt; Vertical Alignment( "Default" ), Report2 &amp;lt;&amp;lt; Visibility( "Visible" ), Report2 &amp;lt;&amp;lt; Set Min Size( 187, 76 ),
				Report2 &amp;lt;&amp;lt; Set Max Size( 30087, 30001 ), Report2 &amp;lt;&amp;lt; Set Stretch( {"Neutral", "Neutral"} ), Report2 &amp;lt;&amp;lt; set horizontal( 0 )
			)
		)
	),
	Initialize(
		Module1 &amp;lt;&amp;lt; Auto Launch( 1 );
		Module1 &amp;lt;&amp;lt; Set Module Type( "Report" );
		Module1 &amp;lt;&amp;lt; Set Window Title( "^TABLENAME - ^APPNAME" );
	)
) &amp;lt;&amp;lt; Run;
rdash = dash &amp;lt;&amp;lt; get windows;
dashpic = rdash &amp;lt;&amp;lt; get picture;
rdash &amp;lt;&amp;lt; close window;
Close( dt, nosave );

//create a table for the pictures
dt2 = New Table( "big class summary" );
dt2 &amp;lt;&amp;lt; New Column( "ID", numeric, "nominal", formula( Row() ) );
dt2 &amp;lt;&amp;lt; New Column( "pic", expression );
dt2 &amp;lt;&amp;lt; add rows( 3 );
dt2 &amp;lt;&amp;lt; set label columns( :pic );
dt2 &amp;lt;&amp;lt; new table script(
	"graph",
	Graph Builder(
		Size( 495, 450 ),
		Show Control Panel( 0 ),
		Grid Color( "White" ),
		Level Spacing Color( "White" ),
		Graph Spacing( 5 ),
		Spacing Borders( 1 ),
		Variables( X( :ID ) ),
		Elements( Points( X, Legend( 4 ) ) )
	)
);
//add pictures
dt2:pic[1] = gbpic;
dt2:pic[2] = dashpic;

//remove {}'s from the dashboard script
	//remove initial open bracket, {
	dashpic1 = Munger( Char( dashpic ), 1, "{", "" );
	//remove last closing bracket, }
	dashpic2 = Munger( Char( dashpic1 ), 1, "}", "" );

//add picture to row 3
dt2:pic[3] = Eval( Parse( dashpic2 ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:32:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-get-picture-seems-to-act-differently-with-Graph-Builder/m-p/635994#M83407</guid>
      <dc:creator>tbidwell</dc:creator>
      <dc:date>2023-06-11T11:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using get picture seems to act differently with Graph Builder than with a Dashboard</title>
      <link>https://community.jmp.com/t5/Discussions/Using-get-picture-seems-to-act-differently-with-Graph-Builder/m-p/636068#M83417</link>
      <description>&lt;P&gt;When you run this JSL on the dashboard:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rdash = dash &amp;lt;&amp;lt; get windows;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The return value is always a list of windows, even if there is only one (which there usually is for the Dashboard case, but JMP Applications can have more).&amp;nbsp; When you send the &amp;lt;&amp;lt;GetPicture message to a list, you will get back a list of responses, but if you send it only to the first item in the list, you will get back a picture:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dashpic = rdash[1] &amp;lt;&amp;lt; get picture;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 May 2023 14:15:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-get-picture-seems-to-act-differently-with-Graph-Builder/m-p/636068#M83417</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2023-05-26T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using get picture seems to act differently with Graph Builder than with a Dashboard</title>
      <link>https://community.jmp.com/t5/Discussions/Using-get-picture-seems-to-act-differently-with-Graph-Builder/m-p/636074#M83420</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4587"&gt;@danschikore&lt;/a&gt;.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That makes perfect sense.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 14:31:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-get-picture-seems-to-act-differently-with-Graph-Builder/m-p/636074#M83420</guid>
      <dc:creator>tbidwell</dc:creator>
      <dc:date>2023-05-26T14:31:09Z</dc:date>
    </item>
  </channel>
</rss>

