Tengo una ventana de cuadro de lista H en la que los usuarios pueden ingresar parámetros, después de eso haré algunos cálculos y proporcionaré un generador de gráficos al usuario.
Mi pregunta es ¿puedo configurar el título del generador de gráficos también en función de los parámetros? A continuación se muestra el código de muestra.
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
)
)
)
))