您好,有什么方法可以将表格报告的列标题从水平对齐更改为垂直对齐?(就像 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;