Estoy tratando de automatizar la generación de gráficos que se ve bien, pero al agregar las líneas de referencia, no se trazan. ¿Cómo se puede lograr esto a través del bucle?
Como prueba también he intentado dar un número o el índice al Scalebox pero no aparece nada.
Data Table( "NC119_1" ) << Graph Builder(
Page Gap Size( 1 ),
Variables(
X( :timeTrace ),
Y( :VI2, Side( "Right" ) ),
Y( :VI1, Position( 1 ) ),
Page( :tracenum )
),
Elements(
Points( X, Y( 2 ), Legend( 1 ) ),
Points( X, Y( 2 ), Legend( 2 ) ),
Points( X, Y( 1 ), Legend( 3 ) ),
Points( X, Y( 1 ), Legend( 4 ) ),
by ( :tracenum )
),
For( i = 1, i <= 1, i++,
Where( :tracenum == i ),
SendToReport(
Dispatch(
{},
"timeTrace",
ScaleBox,
{Format( "Fixed Dec", 12, 0 ), Min( -38.696 ), Max( 3200.00 ),
Inc( 500 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"VI1",
ScaleBox,
{Format( "Fixed Dec", 12, 1 ), Min( -0.1367445006 ), Max( 2.5845443676 ),
Inc( 0.5 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"VI2",
ScaleBox,
{Format( "Fixed Dec", 12, 3 ), Min( -1 ),
Max( 0.01 ), Inc( 0.01 ), Minor Ticks( 0.1 )}
),
Dispatch(
{},
"timeTrace",
ScaleBox( 1 ),
{Add Ref Line( 1200, "Solid", "Black", "", 1 )}
),
Dispatch(
{},
"VI1",
ScaleBox( 1 ),
{Add Ref Line( 0.3, "Solid", "Black", "", 1 )}
)
)
)
);