웹 보고서에 텍스트 상자를 미리 추가하려면 어떻게 합니까?안녕하십니까,
보고서 상단에 다음을 설명하는 텍스트 상자를 추가하고 싶습니다. 웹 페이지의 보고서 내용.
스크린샷에서 빨간색 화살표 --->가 있는 위치에 텍스트 설명을 삽입하고 싶습니다.죄송합니다. 적절한 항목을 찾지 못한 것 같습니다. 이를 수행하기 위해 JSL을 사용합니다.JMP 15.2.1 실행 고마워, 리치
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 ) ),
<<{Arrange in Rows( 2 )}
);
report( SidebySide )[Outline Box(1)] << set title("USAF: 873950 COMODORO PIERRESTEGUI, AR 31.3 S 58.0 W");
report( SidebySide )[Outline Box(2)] << set title("Bivariate Fit of Average Temperature By Year" );
report( SidebySide )[Outline Box(9)] << set title("Oneway Analysis of Average Temperature By co_2" );
ReportSidebySide = SidebySide << report;
ReportSidebySide << Save Interactive HTML ( "C:\Public\gsodReports\COMODORO_PIERRESTEGUI_AR_873950.t_mean.WIP.htm" );
close( dt1 , "nosave" );스크립팅Re: 웹 보고서에 텍스트 상자를 미리 추가하려면 어떻게 합니까?첫 번째 개요 상자 앞에 텍스트 상자를 삽입해야 합니다. 시도할 수 있는 한 가지는 보고서를 새 창에 작성하는 것입니다(또는 예를 들어 Sib << Prepend를 사용할 수 있지만 새 창으로 보고서를 작성하겠습니다. )
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 << Bivariate(Y(:Height), X(:Weight));
);
);
Report(biv)[OutlineBox(1)] << Set Title("New title");
nw << Save Interactive HTML("$TEMP/deleteme1.html");
open("$TEMP");
nw << close window(1);
stop();
biv = dt << Bivariate(Y(:Height), X(:Weight));
ob_ref = Report(biv)[OutlineBox(1)];
ob_ref << Set Title("New title");
ob_ref << Sib Prepend(Text Box("TEXT HERE"));
(biv << top parent) << Save Interactive HTML("$TEMP/deleteme2.html");
</CODE></P>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><span class="lia-inline-image-display-wrapper" image-alt="jthi_0-1662658150233.png" style="width: 400px;"><img src="https://us.v-cdn.net/6038925/uploads/images/45311iDB3BA761BAE227B7/jthi_0-1662658150233.png" role="button" title="jthi_0-1662658150233.png" alt="jthi_0-1662658150233.png" /></span></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></P>
<P> </P></LINGO-BODY><LINGO-SUB id="lingo-sub-542805" slang="en-US" mode="NONE">Re: 웹 보고서에 텍스트 상자를 미리 추가하려면 어떻게 합니까?</LINGO-SUB><LINGO-BODY id="lingo-body-542805" slang="en-US" mode="NONE"><P>다음은 Big Class에 대한 간단한 예입니다.</P><PRE><CODE class=" language-jsl">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 ) ),
<<{Arrange in Rows( 2 )}
);
Report(SidebySide)[OutlineBox(1)] << prepend(Text box("Your text description"));