<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Ciao,
Ho lo script successivo che funziona in una certa misura. Compila i dati e crea l'output, ma quello che devo fare è posizionare tutti i grafici su un giornale:
Codice finora:
Try( Close( dt, no save ) );Try( Close( tempdt, no save ) );Try( Close( dtNAME, no save));Try (Close( vlb, no save ));//Open CSV file for analysisdt = Open( "C:\Users\LAST24hrs.csv", ); //Get List of unique Values date_yas = dt<< Associative Array( :Datetrim << get values ) << get keys;//create Temp Table with Namestempdt = New Table( "Name_temp" );tempdt << New Column( "Name_ID", character, nominal );For( i = 1, i <= N Row( dt ), i++, variable = Column( dt, "NAME" ); tempdt << addrows( 1 ); Column( tempdt, "Name_ID" ) = variable;);dtNAME = Data Table( "Name_temp" ) << Join( With( Data Table( "Name_temp" ) ), By Matching Columns( :Name_ID = :Name_ID ), Drop multiples( 1, 1 ), Name( "Include non-matches" )(0, 0), Output Table( "Name_group" ));Try( Close( tempdt, no save ) );//date = Associative Array( :Datetrim << get values ) << get keys;// Make new windowNew Window( "Output", vlb = V List Box() );// Populate window iteratively//create the graphs For( i = 1, i <= N Row( dtNAME ), i++, variable = Column( dtNAME, "Name_ID" ); //For( a = 1, a <= N Items( date_yas ), a++, //vlb << append( dt< SendToByGroup( Bygroup Default ), X( :real_x ), Y( :real_y ), Grouping( :Datetrim ), Where( :NAME == variable ), SendToReport( Dispatch( {}, "Overlay Plot", OutlineBox, {Set Title( variable )} ), Dispatch( {}, "Overlay Plot Graph", FrameBox , {Frame Size( 297, 293 ),Background Color( -16776960 )} ) ) ), //( Report( test ) << Parent )[Text Box( 1 )] << Delete; );vlb << append report;Il rapporto append non funziona ... qualche aiuto su dove potrei andare storto?