Hi all,
I'm trying to script some analysis that creates a tabbed output, with each tab containing a chart generated in graphbuilder. See attached example. Would like to export for non-JMP users. Can export to html but would prefer to export to html with data to preserve the format. When I try this, the exported file opens but there is no data shown. See example of output and script used (limited the script to just one of the 6 graphs generated):
New Window( "Calibration Curves", tb = Tab Box( "Test 1", vlb1 = V List Box( "Data Analysis" ), "Test 2", vlb2 = V List Box( "Data Analysis" ), "Test 3", vlb3 = V List Box( "Data Analysis" ), "Test 4", vlb4 = V List Box( "Data Analysis" ), "Test 5", vlb5 = V List Box( "Data Analysis" ), "Test 6", vlb6 = V List Box( "Data Analysis" ) ) ); dtStand = dtSum; dtStand << select where( :assay == "Test 1" ); dtTest 1 = dtStand << subset( output table name( "Test 1" ) ); gTest 1 = New Window( "test", Graph Builder( Size( 534, 482 ), Show Control Panel( 0 ), Variables( X( :"Mean(Readbacks)"n ), Y( :"Mean(calculated_net_mfi)"n ) ), Elements( Points( X, Y, Legend( 5 ) ) ), SendToReport( Dispatch( {}, "Mean(Readbacks)", ScaleBox, {Scale( "Log" ), Add Ref Line( 0.0031, "Solid", "Black", "LLoQ", 1 ), Add Ref Line( 2.65, "Solid", "Black", "ULoQ", 1 )} ), Dispatch( {}, "Mean(calculated_net_mfi)", ScaleBox, {Scale( "Log" ), Inc( 1 ), Minor Ticks( 1 )} ), Dispatch( {}, "Graph Builder", FrameBox, {Add Graphics Script( 4, Description( "" ), Y Function( Test 1P4 + (Test 1P1 - Test 1P4) / (1 + (X / Test 1P3) ^ Test 1P2) ^ Test 1P5, X ) )} ) ) ) ); vlb1 << append( gTest 1 ); gTest 1 << close window; Close( dtTest 1 );