cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

How do I get my axis property to be updated on my distribution graphic ?

Hello,

 

I have an application with a dashboard showing the distributions (and other graphs) of a table's parameters.

 

In this application, the user can interactively set limits, to be displayed on the graphs. To do this, I use the ‘Axis’ property of the columns. And while changes to this property are automatically reflected on graph builder graphics, this does not seem to be the case on the distribution platform.

 

Why is this? How can I make this interactive on the distribution platform too?

 

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Restaurant Tips.jmp" );
:Day of Week << set property( "Row Order Levels", 1 );
dt_split = dt << Split( Split By( :Day of Week ), Split( :Bill Amount ), Sort by Column Property, remaining columns( drop all ) );

dt_split << Distribution(
	Continuous Distribution( Column( :Thu ) )
);


dt_split <<  Graph Builder(
	Size( 495, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :Thu ) ),
	Elements( Points( X, Legend( 12 ) ) )
);


wait(2); 

dt_split:Thu << Set Property(
	"Axis",
	{Add Ref Line( 31.94, "Solid", "Red", "Limite1", 1 )}
);

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How do I get my axis property to be updated on my distribution graphic ?

Add Automatic Recalc to the Distribution

dt_split << Distribution(
	Continuous Distribution( Column( :Thu )), Automatic Recalc( 1 )
);

Almost all of the Platforms have an Automatic Recalc capability.  Not all Platforms have Automatic Recalc set as the default. 

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: How do I get my axis property to be updated on my distribution graphic ?

Add Automatic Recalc to the Distribution

dt_split << Distribution(
	Continuous Distribution( Column( :Thu )), Automatic Recalc( 1 )
);

Almost all of the Platforms have an Automatic Recalc capability.  Not all Platforms have Automatic Recalc set as the default. 

Jim

Re: How do I get my axis property to be updated on my distribution graphic ?

Thank you, it worked ! 

Recommended Articles