Another JSL question, I'm trying to put a table in Journal using JSL. Here is what I am trying to do:
current_data_table << New Data View; // Creating the Journal nw = New Window("Journal Right Here", <<Journal, ob = Outline Box("Section 1", Text Box("Some description that we need here.", << Markup), Current Journal()[TableBox(current_data_table)] ) );
Everything seems to be working but the TableBox code... I am sure it is something easy but it is stumping me.
Thank you in advance.
Actually, there is the matrix display box, too.
Names Default To Here( 1 );
myMatrix = [1 2 3, 4 5 6, 7 8 9];
nw = New Window( "test", vlb = V List Box() );
vlb << Append( Matrix Box( myMatrix ) );
Is it possible to change font size for the table?
Here are my attempts but I can't seem to be able to have it actually make a change.
Names Default to Here(1);
dt = Open("$sample_data/Big Class.jmp");
nw = New Window("Tables", <<Journal);
// Attempt 1
/*tableVBox = V List Box(<< Append (Data Table Box (dt) ));
tableVBox << font("Times New Roman", 50);
nw << Append ( Outline Box( "Big Class Table", tableBox ));*/
// Attempt 2
tableDTB = Data Table Box (dt);
tableDTB << Optimize Display;
nw << Append ( Outline Box( "Big Class Table", V List Box(<< Append (tableDTB )) ));
The data table, when moved into a journal, is convered into a TableBox(). The only way that I know of to change the text size in a table box, is in the JMP Preferences. However, that will change the text size for all areas within JMP, not just the table box.