在數字列旁邊建立一個新列並新增此公式(<SPAN class="token punctuation"> :</SPAN>重量<SPAN class="token punctuation">)</SPAN><SPAN></SPAN>是唯一的列名<SPAN class="token punctuation">。</SPAN>
Col Sum(:weight)
另一種是使用腳本啟動圖形產生器
xx=colsum(:weight);
Graph Builder(
Size( 524, 492 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ), Group X( :age ) ),
Elements( Points( X, Y, Legend( 25 ) ), Smoother( X, Y, Legend( 26 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( "Sum of Weight: "||char(xx) ), Image Export Display( Normal )}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "Sum of Weight: "||char(xx) )} )
)
)