JMP App( Set Name( "Application" ), Set Description( "An empty workspace for creating custom applications with one or more windows and scripts" ), Auto Launch( 1 ), Snap To Grid( 1 ), Show Grid( 1 ), Show Properties( 1 ), Show Sources( 1 ), Group By Category( 1 ), Dashboard Mode( 0 ), Parameters, Tables, Script(JSL Quote(// This script is executed when the application is run. // Named objects have been created for the application modules // (for example, "Module1") and the pre-defined object // "thisApplication" refers to the application object itself. // Variables and functions declared here are scoped to the // Application namespace. ) ), Allocate( Module1 = Plan( PreAllocate, Script(JSL Quote(// This script is executed when a new module instance is // created. The pre-defined object "thisModuleInstance" refers // to the instance object, but other objects such as boxes and // scripts have not yet been created. Variables declared here are // scoped to the ModuleInstance namespace. // This special function will receive parameters passed to CreateInstance() OnModuleLoad({}, ); thisModuleInstance << Create Objects; // After this point your module instance objects have been created // and can be referred to by name (for example, "Button1"). ) ), Allocate( Graph1 = Graph Box(); Icon1 = Icon Box( "Nominal" ); ), Organize( Relocate( Icon1( 53, 60 ) ); Relocate( Graph1( 0, 20 ) ); ), Initialize( Graph1 << Background Color( 2147483647 ); Graph1 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ); Graph1 << Enabled( 1 ); Graph1 << Horizontal Alignment( "Default" ); Graph1 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ); Graph1 << Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ); Graph1 << Text Color( 2147483647 ); Graph1 << Vertical Alignment( "Default" ); Graph1 << Visibility( "Visible" ); Graph1 << Set Graphics Script( {Gradient Function( x, x, y, [0 100], Z Color( RGB Color( 0, 1, 0 ) || RGB Color( 1, 0, 0 ) ), xgrid( 0, 100, 1 ), ygrid( 0, 100, 1 ) )} ); Graph1 << Set X Name( "" ); Graph1 << Set Width( 100 ); Graph1 << Set Height( 100 ); Graph1 << Set X Axis( {Scale( "Linear" ), Format( "Fixed Dec", 12, 0 ), Min( 0 ), Max( 100 ), Interval( "Numeric" ), Inc( 20 ), Minor Ticks( 1 ), Label Row Nesting( 1 ), Label Row( {Automatic Font Size( 0 ), Automatic Tick Marks( 0 ), Inside Ticks( 0 ), Label Orientation( "Horizontal" ), Major Grid Line Color( -14145495 ), Minor Grid Line Color( -15790320 ), Show Major Grid( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ), Show Minor Grid( 0 ), Show Minor Labels( 0 ), Show Minor Ticks( 0 ), Tick Offset( 0 )} )} ); Graph1 << Set Y Name( "" ); Graph1 << Set Y Axis( {Scale( "Linear" ), Format( "Fixed Dec", 12, 0 ), Min( 0 ), Max( 100 ), Interval( "Numeric" ), Inc( 20 ), Minor Ticks( 1 ), Label Row Nesting( 1 ), Label Row( {Automatic Font Size( 0 ), Automatic Tick Marks( 0 ), Inside Ticks( 0 ), Label Orientation( "Horizontal" ), Major Grid Line Color( -14145495 ), Minor Grid Line Color( -15790320 ), Show Major Grid( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ), Show Minor Grid( 0 ), Show Minor Labels( 0 ), Show Minor Ticks( 0 ), Tick Offset( 0 )} )} ); Graph1 << Set Background Color( 2 ); Graph1 << Set Background Fill( 1 ); Graph1 << Top( 8 ); Graph1 << Bottom( 8 ); Graph1 << Left( 5 ); Graph1 << Right( 14 ); Graph1 << Sides( 0 ); Icon1 << Background Color( 2147483647 ); Icon1 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ); Icon1 << Enabled( 1 ); Icon1 << Horizontal Alignment( "Default" ); Icon1 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ); Icon1 << Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ); Icon1 << Text Color( 2147483647 ); Icon1 << Vertical Alignment( "Default" ); Icon1 << Visibility( "Visible" ); Icon1 << Title( "GeneralPref" ); ) ) ), Initialize( Module1 << Auto Launch( 1 ); Module1 << Set Module Type( "Report" ); Module1 << Set Window Title( "^TABLENAME - ^APPNAME" ); Module1 << Set Min Size( 0, 0 ); Module1 << Set Max Size( 30000, 30000 ); Module1 << Set Auto Stretching( ., . ); ) )