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
ashwint27
Level III

Graph Builder - Different "label by row" for different graph elements in same chart

I have a Graph Builder chart that has both bars and points.  I have two columns that I have selected for labeling (see data table screenshot).  In Graph Builder for both Bars and Points, there are options to Label by Row, Label by Value, or Label by Row and Value, which puts the labels in the positions I would like for each. 

In this case, I want the Bars to be Labeled by "Label 1" rows only, and the Points to be labeled by "Label 2" rows only.   From what I can tell, I am only able to have the same labeling apply to both of these bars and points.  Is there a way to have independent labeling in this manner across different element types in the same chart?

ashwint27_0-1761262877213.png

ashwint27_3-1761263545611.png

 

ashwint27_2-1761263386587.png

 

 

 

5 REPLIES 5
hogi
Level XIII

Re: Graph Builder - Different "label by row" for different graph elements in same chart

Yes, this is a limitation of JMP.

Currently, it is not possible to select different columns as labels for different plots.
This issue applies to different plot types within the same plot as well as to different plots:

Activating a column as a label for one plot also sets these values as labels for all other labelled plots.
https://community.jmp.com/t5/JMP-Wish-List/Display-multiple-cell-labels-on-charts-in-Graph-Builder/i... 

hogi_0-1761280816894.png


please support this wish to get the new flexibility :
advanced label control in Graph Builder 

jthi
Super User

Re: Graph Builder - Different "label by row" for different graph elements in same chart

I think scripting is currently only "easy" way of doing something like this which would still be somewhat dynamic. 

-Jarmo
hogi
Level XIII

Re: Graph Builder - Different "label by row" for different graph elements in same chart

another easy way: use a single column.
... and stack the table 

e.g.: activate and deactivate specific labels by the presence/absence of a x value

@txnelson  applied this trick in many solutions

hogi_1-1761281828296.png

jthi
Super User

Re: Graph Builder - Different "label by row" for different graph elements in same chart

One problem with stacking is that it will break interactivity and dynamic nature of JMP somewhat for graphs like this as you will always have to re-stack your data OR fully restructure the data. But it can definitely be a good option, depending on how the report/tool/dashboard/graph will be used.

-Jarmo
hogi
Level XIII

Re: Graph Builder - Different "label by row" for different graph elements in same chart

Agreed.

It's just a workaround  — there's definitely no argument that the new functionality isn't needed.

Recommended Articles