<?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: JMP Journal adding graphs JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/422656#M67180</link>
    <description>&lt;P&gt;Here is a sample script that adds a chart every time the column switcher is changed.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Process Measurements.jmp" );
new window("The Journal", &amp;lt;&amp;lt;journal);
gb = Control Chart Builder(
	Size( 528, 458 ),
	Show Control Panel( 0 ),
	Show Limit Summaries( 0 ),
	Variables( Y( :Process 1 ) ),
	Chart( Position( 1 ) ),
	SendToReport(
		Dispatch(
			{"Process 1 Limit Summaries", "Process Capability Analysis", "Histogram"
			},
			"Process Capability Analysis Histogram",
			FrameBox,
			{Frame Size( 320, 20 )}
		)
	)
);
columnSwitcher = gb &amp;lt;&amp;lt;
Column Switcher(
	:Process 1,
	{:Process 1, :Process 2, :Process 3, :Process 4,
	:Process 5, :Process 6, :Process 7}
);
pre = Function( {currentColumn, nextColumn, switcher},
	dummy=1;
);
post = Function(
	{previousColumn, currentColumn, switcher},
	current report()["Control Chart Builder"]&amp;lt;&amp;lt;journal;
);
columnSwitcher &amp;lt;&amp;lt;
Make Column Switch Handler( pre,post );
// The below line was added to ensure the first chart is automatically
// moved to the journal
current report()["Control Chart Builder"]&amp;lt;&amp;lt;journal;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 30 Sep 2021 18:40:32 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-09-30T18:40:32Z</dc:date>
    <item>
      <title>JMP Journal adding graphs JSL</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/422620#M67174</link>
      <description>&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one control chart graph with column switcher on the side to change the graph that I want to look at. I want to be able to use JSL to copy over the control chart to the journal and then use the column switcher to pick a different control chart graph and move that one over too. The point is to be able to move over any of the control chart graphs you want to look at into the journal quickly using a script so that I have a record of the control charts I have wanted to look at. I have tried to look around at different discussions and have not been able to find anything for this. Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ryan&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:58:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/422620#M67174</guid>
      <dc:creator>rmthomas</dc:creator>
      <dc:date>2023-06-09T19:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Journal adding graphs JSL</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/422650#M67179</link>
      <description>&lt;P&gt;If you are using the interactive Column Switcher feature, then why not use the interactive command to journal the current chart? Select Edit &amp;gt; Journal or press Control-J on Windows or Command-J on Mac.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 18:35:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/422650#M67179</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-09-30T18:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Journal adding graphs JSL</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/422656#M67180</link>
      <description>&lt;P&gt;Here is a sample script that adds a chart every time the column switcher is changed.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Process Measurements.jmp" );
new window("The Journal", &amp;lt;&amp;lt;journal);
gb = Control Chart Builder(
	Size( 528, 458 ),
	Show Control Panel( 0 ),
	Show Limit Summaries( 0 ),
	Variables( Y( :Process 1 ) ),
	Chart( Position( 1 ) ),
	SendToReport(
		Dispatch(
			{"Process 1 Limit Summaries", "Process Capability Analysis", "Histogram"
			},
			"Process Capability Analysis Histogram",
			FrameBox,
			{Frame Size( 320, 20 )}
		)
	)
);
columnSwitcher = gb &amp;lt;&amp;lt;
Column Switcher(
	:Process 1,
	{:Process 1, :Process 2, :Process 3, :Process 4,
	:Process 5, :Process 6, :Process 7}
);
pre = Function( {currentColumn, nextColumn, switcher},
	dummy=1;
);
post = Function(
	{previousColumn, currentColumn, switcher},
	current report()["Control Chart Builder"]&amp;lt;&amp;lt;journal;
);
columnSwitcher &amp;lt;&amp;lt;
Make Column Switch Handler( pre,post );
// The below line was added to ensure the first chart is automatically
// moved to the journal
current report()["Control Chart Builder"]&amp;lt;&amp;lt;journal;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Sep 2021 18:40:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/422656#M67180</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-09-30T18:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Journal adding graphs JSL</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/423848#M67303</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;. Thank you I completely forgot about this short cut!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 11:43:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/423848#M67303</guid>
      <dc:creator>rmthomas</dc:creator>
      <dc:date>2021-10-06T11:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Journal adding graphs JSL</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/423849#M67304</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;. Thank you for your help! This will work great.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 11:45:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Journal-adding-graphs-JSL/m-p/423849#M67304</guid>
      <dc:creator>rmthomas</dc:creator>
      <dc:date>2021-10-06T11:45:14Z</dc:date>
    </item>
  </channel>
</rss>

