cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

Manual axis labels are 'mixed up' when plotting multiple columns

What inspired this wish list request? 

 

The problem occurs in the following situation: When you plot various parameters/columns and rename one or more axis labels, the renamed axis label is tied to the position of the parameter on the graph and not to the parameter itself. For example, you can plot columns A, B, and C on the y-axis. Then rename the axis label of column A from "A" to "New label A". If you now insert a new column D above A, the axis labels will be: "New Label A", "A", "B", "C". So "D" will be directly labeled "New Label A", but in reality we only wanted to rename "A" to "New Label A". In some cases, this behavior can cause a lot of confusion.

 

What is the improvement you would like to see? 

 

When an axis label is changed, the change should be associated with the parameter/column, not just the chart position. Sometimes you want to change the order of the parameters in the chart and of course the change of the axis label should also change its positions accordingly.

 

Why is this idea important? 

 

This problem seems to be a bug and should be fixed since the behavior of JMP is unexpected. Wrong labels can cause a lot of confusion.

15 Comments
hogi
Level XII

@mia_stephens 
the current beta version of JMP19 deletes some of the manually changed labels.
A test data set to check if it's working as expected:

The plot should show the counts of the students 2x.
a) as percent. labelled "percent"
b) as counts, labelled "# student"

After saving and reopening the script, the graph should still look like this:

 

hogi_0-1724507371919.png

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); 
Graph Builder(
	Summary Statistic( "Median" ),
	Graph Spacing( 4 ),
	Variables( X( :age ), Y( :height ), Y( :height ), Overlay( :sex ) ),
	Elements(
		Position( 1, 1 ),
		Bar(
			X,
			Y,
			Legend( 1 ),
			Bar Style( "Stacked" ),
			Summary Statistic( "% of Factor" )
		)
	),
	Elements(
		Position( 1, 2 ),
		Bar( X, Y, Legend( 2 ), Bar Style( "Stacked" ), Summary Statistic( "N" ) )
	),
	SendToReport(
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "percent" )} ),
		Dispatch( {}, "Y 1 title", TextEditBox, {Set Text( "students" )} )
	)
);

 

hogi
Level XII

with the option disabled,

hogi_1-1724507717867.png

the generted code looks like this:

hogi_0-1724507662504.png

 

mia_stephens
Staff

Hi @hogi , have you reported this to jmpbeta@jmp.com (so that beta feedback is captured)? Thanks!

hogi
Level XII

Hi @mia_stephens , yes I did.
Same issue in EA3.

hogi
Level XII

Hi @mia_stephens , we discussed the issue at the DACH User Group Treffen 2024 am 7./8. Oktober in Ingelheim .

 

Besides fixing the issue, please also provide a way to apply the changes simultaneously for multiple plot:
e.g. via
 🙏 Column Property: Column Name Alias / Allow secondary or alternate column names 

 

For Tick Labels, (with JMP17 ?) a cool functionality was introduced:
when the user clicks for some time on a tick label, a special edit mode is activated - and the changes are saved as Column Property: Value Labels

[very cool functionality, very well hidden - how many users know it?]


parallel approach for Axis Labels:
when the user clicks for some time on an axis label, a special edit mode is activated - and the changes are saved as Column Property: Column Name Alias.

 

As an alternative: right click menu - > save as column name alias.

 

Maybe: 
Column Name Alias could provide a list of values,
(e.g. for different languages, different types of plots)

In a graph, the user can select "use column name alias" with an index.