Crea una nuova colonna accanto alla tua colonna di numeri e aggiungi questa formula (<SPAN class="token punctuation"> :</SPAN> il peso<SPAN class="token punctuation"> )</SPAN><SPAN></SPAN> è un nome colonna univoco<SPAN class="token punctuation"> .</SPAN>
Col Sum(:weight)
L'altro è avviare Graph Builder con uno script
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) )} )
)
)