cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
] />

Discussions

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

X - Axis settings in Graph Builder

Is it possible to save this preference and make it the default for the x-axis when I'm using graph builder? I specifically need the Show tick label, long divider, show grid, and lower frame to be like this in default. Thanks.

 

 

2 REPLIES 2

Re: X - Axis settings in Graph Builder

If you go to the Column Info for the x-axis variable and choose the Axis property, I believe you can set all of the properties that you want. Whenever that variable is used in a graph, those axis properties will be utilized.

I have not found a way to save these properties for the use of ANY nominal x-variable. Perhaps another community member has found a way to do it. My only suggestion is to copy the axis settings from a variable that was set and then paste to any other column that you want to use on the x-axis.

Dan Obermiller
jthi
Super User

Re: X - Axis settings in Graph Builder

I don't think there are preferences for those which would only apply to Graph Builder. You can change preferences but it would apply to all platforms and columns

image.png

I would most likely, for now, utilize Presets, as I think they can handle cases like this. You cannot use them as defaults (Let us define which Preset to use as default on platform launch ).

Or you could create a script which would set those for either Graph Builder or as column properties like Dan mentioned. 

 

View more...
Names Default To Here(1);

rep = Current Report();

gbs = rep << XPath("//OutlineBox[@helpKey='Graph Builder']");

If(N Items(gbs) == 0,
	stop();
);

// Lazy option and works for very simple cases
abs = gbs[1] << XPath("//AxisBox");

abs[1] << Axis Settings(
	Show Major Labels(1),
	Show Major Grid(1),
	Tick Mark Style("Long Divider"),
	Lower Frame(1), 
	Major Grid Line Color("Orange")
);

We also have Tags which can "duplicate" column properties, but I don't think we can save / auto-load those (I have made request this last year in Discovery Summit, no idea if it is in any lists) so no "preference" like feature from that either.

 

-Jarmo

Recommended Articles