cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
emorris1000
Level II

Drill down graph through hoverlabel from summary table to underlying linked table

I've got a table that has a summary table built off of it (with linkage).  I wanted to have a graph in the summary table use the table links to pull up a hoverlabel graphlet from the underlying table.  I could swear I did this before years ago, but...well if I did it was years ago and I can't seem to remember how to do it, and not having luck finding the answer with my mediocre google skills.


Is this actually possible?

1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XIII

Re: Drill down graph through hoverlabel from summary table to underlying linked table

This can be done by explicitly specifying the underlying table as a recipient of << Graph Builder in the expression of the hover label command:

hogi_1-1760468483059.png

 

 


Names Default to Here(1);
new namespace("myNs");
myNS:dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );

myNS:dt << Summary(
	Group( :sex )
);

Graph Builder(
	Variables( X( :sex ), Y( :N Rows ) ),
	Elements( Bar( X, Y, Legend( 3 ) ) ),
	SendToReport(
		Dispatch( {}, "Graph Builder", FrameBox,
			{Set Graphlet(
				Picture(
					myNS:dt << Graph Builder(
						Size( 656, 556 ),
						Show Control Panel( 0 ),
						Graph Spacing( 4 ),
						Variables( X( :height ), Y( :weight ) ),
						Elements(
							Points( X, Y, Legend( 3 ) ),
							Smoother( X, Y, Legend( 4 ) )
						)
					)
				)
			)}
		)
	)
);
	

 

View solution in original post

1 REPLY 1
hogi
Level XIII

Re: Drill down graph through hoverlabel from summary table to underlying linked table

This can be done by explicitly specifying the underlying table as a recipient of << Graph Builder in the expression of the hover label command:

hogi_1-1760468483059.png

 

 


Names Default to Here(1);
new namespace("myNs");
myNS:dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );

myNS:dt << Summary(
	Group( :sex )
);

Graph Builder(
	Variables( X( :sex ), Y( :N Rows ) ),
	Elements( Bar( X, Y, Legend( 3 ) ) ),
	SendToReport(
		Dispatch( {}, "Graph Builder", FrameBox,
			{Set Graphlet(
				Picture(
					myNS:dt << Graph Builder(
						Size( 656, 556 ),
						Show Control Panel( 0 ),
						Graph Spacing( 4 ),
						Variables( X( :height ), Y( :weight ) ),
						Elements(
							Points( X, Y, Legend( 3 ) ),
							Smoother( X, Y, Legend( 4 ) )
						)
					)
				)
			)}
		)
	)
);
	

 

Recommended Articles