Hallo all,
I use a JSL script to generate two tables dt1 and dt1 from an SQL server and then I want graph builder to plot two columns from the first data table I generated. Example below:
dt1 = Open Database( "BLA", "
SELECT col1, col2
FROM BLA", "data table 1" );
dt2 = Open Database( "BLA", "
SELECT col1, col2
FROM BLA", "data table 2" );
Graph Builder(
Variables( X( :col1 ), Y( :Tcol2 ) ),
Elements( Points( X, Y, Legend( 7 ) ) )
);
But graph builder seems to see only the last table I defined (dt2) not dt1. I tried:
Graph Builder(
Variables( X( dt1:col1 ), Y( dt1:Tcol2 ) ),
Elements( Points( X, Y, Legend( 7 ) ) )
);
but it also does not work. How do I manage?
Thanks for your help.