cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
Saravana
Level II

How to use Graph boxes in the JMP Application builder

Hi all,

 

I am new to JMP. I am building a JMP application to read data from a JMP table and plot the data (Column 1 vs Column 2) in the graph box available in the JMP application. I was able to read the data from the table but not able to plot the graph in th graph box. I think I am not using proper script for graph box.

 

Can any one explain how to display graph in graph box for my use case?

12 REPLIES 12
Saravana
Level II

Re: How to use Graph boxes in the JMP Application builder

Hi cwillden

I solved the error. 

I just used x = table:Name("Level") << Get Values; instead of x = table:Level << Get Value.

 

 

hogi
Level XII

Re: How to use Graph boxes in the JMP Application builder

For a Graph Box in a Dashboard, is there a setting to restrict the displayed data points to the selection of the local Data Filter - or does the user have to control it via:

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

New Window( "Data filter example",
	H List Box(
		Data Filter Context Box(
			H List Box(
				Data Filter Source Box(
					df = dt << Data Filter(
						Local,
						Add Filter( columns( :name ), Where( :name == {"CLAY", "DANNY", "DAVID", "EDWARD"} ) )
					)
				),
				dt << Graph Builder(
					Show Control Panel( 0 ),
					Variables( X( :height ), Y( :weight ) ),
					Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
				),
				
				V List Box(
					Graph Box(
						X Scale( 50, 70 ),
						Y Scale( 60, 200 ),
						myValues = As List( dt[df <<Get Filtered Rows, {height, weight}] );
						For Each( {pos}, myValues,
							Print( pos );
							Circle( pos, 1 );
						)
					)
				);
			)
		)
	)
)

Re: How to use Graph boxes in the JMP Application builder

Boxes in Dashboard Builder and Application Builder do not really have added features that they do not already support via JSL.