사용자가 매개변수를 입력할 수 있는 H 목록 상자 창이 있습니다. 그런 다음 몇 가지 계산을 수행하고 사용자에게 그래프 작성기를 제공합니다.
내 질문은 다음의 매개변수를 기반으로 그래프 빌더 제목을 설정할 수 있는지입니다. 아래는 샘플 코드입니다.
Names Default To Here( 1 );
dt = current data table();
nw = New Window( "simulator",
H List Box( Text Box( " Input sample rate " ), sample rate = Number Edit Box() ),
H List Box( Text Box( " Input threshold " ), threshold = Number Edit Box() ),
Button Box( "OK",
thesamplerate = sample rate << get;
thethreshold = threshold << get;
numthreshold = num(thethreshold);
numtime = num(thetime);
//Here are more code I already finished based on above variable
Graph Builder(
Variables( X( :File Name ), Y( :greater ) ),
Elements( Bar( X, Y, Legend( 4 ) ) ),
SendToReport(
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "Sample rate = Threshold = " )} //I want to have sample rate & threshold shown on title
)
)
)
))