<?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 Re: Update a box with graphs in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86419#M38519</link>
    <description>I ran this in the debug mode and i get a "The display box 'ButtonBox' does not recognize the message 'Glue'; perhaps you mean one of these: &amp;lt;&amp;lt;Get &amp;lt;&amp;lt;Get Style &amp;lt;&amp;lt;Style &amp;lt;&amp;lt;Get Picture." at step (gbirl &amp;lt;&amp;lt; delete; // Stops right before it gets to this step in the code (assumption)).&lt;BR /&gt;&lt;BR /&gt;The only 'Get' is LotListBox &amp;lt;&amp;lt; Get Selected;&lt;BR /&gt;&lt;BR /&gt;Thanks again for you help</description>
    <pubDate>Mon, 24 Dec 2018 18:26:27 GMT</pubDate>
    <dc:creator>Yngeinstn</dc:creator>
    <dc:date>2018-12-24T18:26:27Z</dc:date>
    <item>
      <title>Update a box with graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86367#M38497</link>
      <description>&lt;P&gt;I am having trouble trying to reconcile how to update boxes with graphs.&lt;/P&gt;&lt;P&gt;In the beginining, I have a window open has does everything I need to do as far as data selection based on dates and then a summary table of wafers inside that date range. When I click on a "load test data" button it executes the sql script to go out and pul in all the test data being requested. After the table is open i want to execute 5 separate graphs and 5 separte distributions which will then tie into the Semiconductor Took Kit to get me yield information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i mentioned, the graph boxes are placed in 1 of 4 tabs, are empty and for now is just used a a place holder.&amp;nbsp; I would also like to put in a local data filter but that is the next process in this evolution. In addition this, I would like to learn how to clear these boxes when a new set of wafer(s) is selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I applogize in advance so to what is included as far as any jsl. I am trying to figure a way of consolodating these scripts to use just tables and not SQL quieries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;credit to &lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3605" target="_blank"&gt;ian_jmp,&lt;/A&gt; txnelson and many others for the help so far&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 19:39:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86367#M38497</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-12-21T19:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Update a box with graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86384#M38504</link>
      <description>&lt;P&gt;What I normally do when attempting an update like you are looking to do, is to simply delete the object I am going to replace, and then build the new object, and append it to the location where you deleted the the original object.&amp;nbsp; I have modified your script to illustrate this method.&amp;nbsp; I only modified one of your graph boxes, but I think you will get the idea.&amp;nbsp; Just run the script, and then click on the "Click Here When Finished" button&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Names Default to Here( 1 );

Close All( Data Tables, No Save );
Close All( Reports );
Clear Log();
Close All( journals, no save );
Clear Symbols();

/* -----------------------------------------------------------*/
/* Initializes Date Selection	 					          */
/* -----------------------------------------------------------*/

sqlstartA = Today();
sqlendA = Today();
sqlstart = Format( sqlstartA, "yyyy-mm-dd" );
sqlend = Format( sqlendA, "yyyy-mm-dd" );


/************************************************************************************************************************************************/
/*                                                                         	  																	*/
/* ---------------------------------------------------------[START TEST DATA ANALYSIS] ----------------------------------------------------	*/
/*                                                                        																		*/
/************************************************************************************************************************************************/

hay = New Window( "Test Database Tools",
	V List Box(
		V List Box(
			Text Box( "Welcome to the Test Database",
				&amp;lt;&amp;lt; Set Font Size( 20 ),
				&amp;lt;&amp;lt; Set Width( 1920 ),
				&amp;lt;&amp;lt; Justify Text( "Center" )
			),
			Spacer Box(
				Size( 10, 15 )
			),
			H List Box( 
				bb = Border Box( Left( 15 ), Right( 10 ), Top( 10 ), Bottom( 10 ), Sides( 15 ),
					V List Box(
						lineup1 = Lineup Box(
							N Col( 1 ),
							V List Box(
								lineup2 = Lineup Box(
									N Col( 1 ),
									Text Box( "Select Desired Test Dates",
										&amp;lt;&amp;lt; Set Font Size( 20 ),
										&amp;lt;&amp;lt; Justify Text( "Center" )
									),
									Spacer Box(
										Size( 5, 15 )
									),
									H Splitter Box(
										Border Box( Left( 15 ), Right( 10 ), Top( 10 ), Bottom( 10 ), Sides( 15 ), 	StartDate = Calendar Box(
											&amp;lt;&amp;lt; Set Function(
												Function(
													{f1},
													sqlStartA = StartDate &amp;lt;&amp;lt; Get Date()
												)
											)
										)
									),
									Border Box(	Left( 15 ), Right( 10 ), Top( 10 ), Bottom( 10 ), Sides( 15 ),
										EndDate = Calendar Box(
											&amp;lt;&amp;lt; Set Function(
												Function(
													{f2},
													sqlendA = EndDate &amp;lt;&amp;lt; Get Date()
												)
											)
										)	
									)
								)
							)
						),
						Spacer Box(
							Size( 5, 15 )
						),
						bb1 = Button Box( "Click Here When Finished",
							sqlstart = Format( sqlstartA, "yyyy-mm-dd" );
							sqlend = Format( sqlendA, "yyyy-mm-dd" );
							Show( sqlstart, sqlend );
							/*lineup1 &amp;lt;&amp;lt; Append(
								V List Box(
									loaddata = Button Box( "Load Test Data", 
										doListChoice; // converts single lot to multiple for purpoose of sql data pull
										doLoadWafer; // sql scipt to pull in test data
									),
									Spacer Box( 
										Size( 5, 15)
									),
									Panel Box( "Select Wafer(s)",
										doLotList,
										Lotlistbox = Check Box( LotList, Beep() ), // lot list based on date selection
										LotListBox &amp;lt;&amp;lt; Get Selected;
									)
								)
							),
							gbirl &amp;lt;&amp;lt; Append( gb );*/
							dt = open( "$SAMPLE_DATA/big class.jmp",invisible);
							gbirl &amp;lt;&amp;lt; delete;
							gbirl = vlistbox(dt&amp;lt;&amp;lt;bivariate(x(:height),y(:weight)));
							gbirlvlb &amp;lt;&amp;lt; append(gbirl);
						),
						Spacer Box(
								Size( 5, 15 )
						)
					)
				)
			),
// The below scripts are place holders for now
				Tab Box(
					"Graph Plot",
					V Splitter Box(
						H Splitter Box(
						gbirlvlb = v list box( gbirl =	Graph Box() ),
						gbgain = Graph Box(),
						gborl =	Graph Box()
						),
						H Splitter Box(
						gbnf = Graph Box(),
						gbgaindb = Graph Box()
						)
					),
					"Distributions",
						Text Box( "Place"),
					"Wafer Map",
						Text Box( "Place" )
					
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Dec 2018 14:14:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86384#M38504</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-12-29T14:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Update a box with graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86385#M38505</link>
      <description>Thank you Mr. Nelson. I am going to try this and get back to you.. Happy Holidays to you and your's..&lt;BR /&gt;&lt;BR /&gt;d</description>
      <pubDate>Sat, 22 Dec 2018 16:54:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86385#M38505</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-12-22T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update a box with graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86415#M38515</link>
      <description>&lt;P&gt;I have a quick follow-up question. When i run the script that includes my sql script (when i select "Click Here When FInished") that window appends with wafer list. That is working as intended however It appears it is stopping right before the gbirl &amp;lt;&amp;lt; delete;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;hay = New Window( "Test Database Tools",
	V List Box(
		V List Box(
			Text Box( "Welcome to the Test Database",
				&amp;lt;&amp;lt; Set Font Size( 20 ),
				&amp;lt;&amp;lt; Set Width( 1920 ),
				&amp;lt;&amp;lt; Justify Text( "Center" )
			),
			Spacer Box(
				Size( 10, 15 )
			),
			H List Box( 
				bb = Border Box( Left( 15 ), Right( 10 ), Top( 10 ), Bottom( 10 ), Sides( 15 ),
					V List Box(
						lineup1 = Lineup Box(
							N Col( 1 ),
							V List Box(
								lineup2 = Lineup Box(
									N Col( 1 ),
									Text Box( "Select Desired Test Dates",
										&amp;lt;&amp;lt; Set Font Size( 20 ),
										&amp;lt;&amp;lt; Justify Text( "Center" )
									),
									Spacer Box(
										Size( 5, 15 )
									),
									H Splitter Box(
										Border Box( Left( 15 ), Right( 10 ), Top( 10 ), Bottom( 10 ), Sides( 15 ), 	StartDate = Calendar Box(
											&amp;lt;&amp;lt; Set Function(
												Function(
													{f1},
													sqlStartA = StartDate &amp;lt;&amp;lt; Get Date()
												)
											)
										)
									),
									Border Box(	Left( 15 ), Right( 10 ), Top( 10 ), Bottom( 10 ), Sides( 15 ),
										EndDate = Calendar Box(
											&amp;lt;&amp;lt; Set Function(
												Function(
													{f2},
													sqlendA = EndDate &amp;lt;&amp;lt; Get Date()
												)
											)
										)	
									)
								)
							)
						),
						Spacer Box(
							Size( 5, 15 )
						),
						bb1 = Button Box( "Click Here When Finished",
							sqlstart = Format( sqlstartA, "yyyy-mm-dd" );
							sqlend = Format( sqlendA, "yyyy-mm-dd" );
							Show( sqlstart, sqlend );
							lineup1 &amp;lt;&amp;lt; Append(
								V List Box(
									loaddata = Button Box( "Load Test Data", 
										doListChoice; // converts single lot to multiple for purpoose of sql data pull
										doLoadWafer; // sql scipt to pull in test data
									),
									Spacer Box( 
										Size( 5, 15)
									),
									Panel Box( "Select Wafer(s)",
										doLotList,
										Lotlistbox = Check Box( LotList, Beep() ), // lot list based on date selection
										LotListBox &amp;lt;&amp;lt; Get Selected;
									)
								)
							),
//							gbirl &amp;lt;&amp;lt; Append( gb ); 
							gbirl &amp;lt;&amp;lt; delete; // Stops right before it gets to this step in the code (assumption)
//							dt = open( "$SAMPLE_DATA/big class.jmp",invisible); // Your inserted script

// Replaced your Bivariate with my Graph Plot

							gbirl =  V List Box( 
									::dt_testdata_ss &amp;lt;&amp;lt; Graph Builder(
										Show Control Panel( 0 ),
										Show Legend( 0 ),
										Variables(
											X( :FREQ_GHz ),
											Y( :IRL ),
											Group X( :wafer_number ),
											Overlay( :RowCol )
										),
										Elements( Smoother( X, Y, Legend( 11 ) ) ),
										Local Data Filter(
											Add Filter(
												columns( :wafer_number, :trmode, :channel ),
												Display( :channel, Check Box Display )
											)
										)
									)
								);
							gbirlvlb &amp;lt;&amp;lt; append(gbirl);
						),
						Spacer Box(
								Size( 5, 15 )
						)
					)
				)
			),
// The below scripts are place holders for now
				Tab Box(
					"Graph Plot",
					V Splitter Box(
						H Splitter Box(
							gbirlvlb = V List Box( 
								gbirl =	Graph Box()
							),
							gbgain = Graph Box(),
							gborl =	Graph Box()
						),
						H Splitter Box(
							gbnf = Graph Box(),
							gbgaindb = Graph Box()
						)
					),
					"Distributions",
						Text Box( "Place"),
					"Wafer Map",
						Text Box( "Place" )
					
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Dec 2018 16:59:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86415#M38515</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-12-24T16:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Update a box with graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86416#M38516</link>
      <description>&lt;P&gt;I believe that the comma following at the end of&amp;nbsp; line 65 needs to be removed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 17:34:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86416#M38516</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-12-24T17:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update a box with graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86419#M38519</link>
      <description>I ran this in the debug mode and i get a "The display box 'ButtonBox' does not recognize the message 'Glue'; perhaps you mean one of these: &amp;lt;&amp;lt;Get &amp;lt;&amp;lt;Get Style &amp;lt;&amp;lt;Style &amp;lt;&amp;lt;Get Picture." at step (gbirl &amp;lt;&amp;lt; delete; // Stops right before it gets to this step in the code (assumption)).&lt;BR /&gt;&lt;BR /&gt;The only 'Get' is LotListBox &amp;lt;&amp;lt; Get Selected;&lt;BR /&gt;&lt;BR /&gt;Thanks again for you help</description>
      <pubDate>Mon, 24 Dec 2018 18:26:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86419#M38519</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-12-24T18:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Update a box with graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86490#M38563</link>
      <description>I just ended up rewriting the script to make sure that i had all the semi-colons and comma's where in the correct place.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 29 Dec 2018 12:27:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-a-box-with-graphs/m-p/86490#M38563</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-12-29T12:27:24Z</dc:date>
    </item>
  </channel>
</rss>

