您好,有什麼方法可以將表格報告的列標題從水平對齊更改為垂直對齊嗎?(就像Excel一樣)
例如,使用帶有 <否則,列標題往往會將表格過度向右包裹,使其更難以查看。 (雖然值內容有大量空白,所以壓縮它們就可以了)
謝謝,DJ
我很確定答案是否定的,原因如下。
如果執行此腳本,您將獲得一個屬性列表,其中沒有一個可以設定為垂直方向。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Where( :Age < 14 );
dt << Select Columns( :name, :age, :height );
jmp_report = New Window( "Big Class",
Text Box( "Big Class" ),
H List Box( Outline Box( "Big Class", dt << Get As Report ) ),
);
jmp_report<<GET properties=""></GET>
如果這是壞消息,請前往願望清單並提出建議
或者,只需轉置表格即可獲得這個

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp",invisible );
Column( dt, "height" ) << set name(
"Super long column name that tends to cause trouble"
);
Column( dt, "weight" ) << set name(
"Terrible, horrible, no-good, very bad long column name"
);
dtsub = dt << Subset(
Selected Rows( 0 ),
Rows( [1, 2, 3, 4, 5, 6, 7, 8] ),
Selected columns only( 0 ),invisible
);close(dt,nosave);
dtsubxp = dtsub << Transpose(
columns( Column( 4 ), Column( 5 ) ),
Label( :name ),
Label column name( "name" ),
Output Table( "Transpose of Subset of Big Class" )
);close(dtsub,nosave);
Column( dtsubxp, 1 ) << Set Display Width( 440 );
obj = dtsubxp << get as report;
dtsubxp << journal;