<?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: How do I pre-append a text box to a web report? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-pre-append-a-text-box-to-a-web-report/m-p/542805#M76211</link>
    <description>&lt;P&gt;Here is a quick example on Big Class:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open("$SAMPLE_DATA\Big Class.jmp");
SidebySide = Fit Group(
	biv  = Bivariate(
		Y( :weight ),
		X( :height ),
		Fit Mean( {Line Color( {212, 73, 88} )} ),
		Fit Line( {Line Color( {61, 174, 70} )} ),
		By( :sex )
	),
	Oneway( Y( :height ), X( :sex ), Mean Diamonds( 1 ) ),
	&amp;lt;&amp;lt;{Arrange in Rows( 2 )}
);

Report(SidebySide)[OutlineBox(1)] &amp;lt;&amp;lt; prepend(Text box("Your text description"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Sep 2022 10:36:28 GMT</pubDate>
    <dc:creator>pauldeen</dc:creator>
    <dc:date>2022-09-09T10:36:28Z</dc:date>
    <item>
      <title>How do I pre-append a text box to a web report?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-pre-append-a-text-box-to-a-web-report/m-p/542335#M76191</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I would like to add a text box at the top of the report that describes the&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;contents of the report on the web page.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I want to insert the text description where the red arrow is ---&amp;gt; is on the screen shot.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt; Sorry, just can't seem to find the appropriate&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;JSL to accomplish this.&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;Running JMP 15.2.1&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;Thanks, Rich&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt1 = Open( "C:\Public\gsod\gis_873950_detail_t.csv" , invisible );
Current Data Table( dt1 );
SidebySide = Fit Group(
Bivariate(
Y( :Average Temperature ),
X( :Year ),
Fit Mean( {Line Color( {212, 73, 88} )} ),
Fit Line( {Line Color( {61, 174, 70} )} ),
SendToReport(
Dispatch( {}, "Bivariate Plot Average Temperature by Year", FrameBox, {Frame Size( 370, 240 )} )
)
),
Oneway( Y( :Average Temperature ), X( :co_2 ), Means( 1 ), Mean Diamonds( 1 ) ),
&amp;lt;&amp;lt;{Arrange in Rows( 2 )}
);

report( SidebySide )[Outline Box(1)] &amp;lt;&amp;lt; set title("USAF: 873950 COMODORO PIERRESTEGUI, AR 31.3 S 58.0 W");
report( SidebySide )[Outline Box(2)] &amp;lt;&amp;lt; set title("Bivariate Fit of Average Temperature By Year" );
report( SidebySide )[Outline Box(9)] &amp;lt;&amp;lt; set title("Oneway Analysis of Average Temperature By co_2" );
ReportSidebySide = SidebySide &amp;lt;&amp;lt; report;
ReportSidebySide &amp;lt;&amp;lt; Save Interactive HTML ( "C:\Public\gsodReports\COMODORO_PIERRESTEGUI_AR_873950.t_mean.WIP.htm" );
close( dt1 , "nosave" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 15:58:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-pre-append-a-text-box-to-a-web-report/m-p/542335#M76191</guid>
      <dc:creator>RichPletcher</dc:creator>
      <dc:date>2023-06-09T15:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pre-append a text box to a web report?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-pre-append-a-text-box-to-a-web-report/m-p/542354#M76193</link>
      <description>&lt;P&gt;You have to insert text box before the first outline box. One thing you could try, is to build the report into a new window (or you could use for example Sib &amp;lt;&amp;lt; Prepend, but&lt;STRONG&gt; I would build the report with New Window&lt;/STRONG&gt;)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

nw = New Window("HTML WINDOW NAME",
	V List Box(
		Text Box("Text here"),
		biv = dt &amp;lt;&amp;lt; Bivariate(Y(:Height), X(:Weight));
	);
);
Report(biv)[OutlineBox(1)] &amp;lt;&amp;lt; Set Title("New title");

nw &amp;lt;&amp;lt; Save Interactive HTML("$TEMP/deleteme1.html");
open("$TEMP");
nw &amp;lt;&amp;lt; close window(1);

stop();
biv = dt &amp;lt;&amp;lt; Bivariate(Y(:Height), X(:Weight));
ob_ref = Report(biv)[OutlineBox(1)];
ob_ref &amp;lt;&amp;lt; Set Title("New title");
ob_ref &amp;lt;&amp;lt; Sib Prepend(Text Box("TEXT HERE"));
(biv &amp;lt;&amp;lt; top parent) &amp;lt;&amp;lt; Save Interactive HTML("$TEMP/deleteme2.html");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1662658150233.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45311iDB3BA761BAE227B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1662658150233.png" alt="jthi_0-1662658150233.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 17:31:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-pre-append-a-text-box-to-a-web-report/m-p/542354#M76193</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-09-08T17:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I pre-append a text box to a web report?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-pre-append-a-text-box-to-a-web-report/m-p/542805#M76211</link>
      <description>&lt;P&gt;Here is a quick example on Big Class:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open("$SAMPLE_DATA\Big Class.jmp");
SidebySide = Fit Group(
	biv  = Bivariate(
		Y( :weight ),
		X( :height ),
		Fit Mean( {Line Color( {212, 73, 88} )} ),
		Fit Line( {Line Color( {61, 174, 70} )} ),
		By( :sex )
	),
	Oneway( Y( :height ), X( :sex ), Mean Diamonds( 1 ) ),
	&amp;lt;&amp;lt;{Arrange in Rows( 2 )}
);

Report(SidebySide)[OutlineBox(1)] &amp;lt;&amp;lt; prepend(Text box("Your text description"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:36:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-pre-append-a-text-box-to-a-web-report/m-p/542805#M76211</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2022-09-09T10:36:28Z</dc:date>
    </item>
  </channel>
</rss>

