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

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-376196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EControl%20Legend%20Layout%20%2F%20Length%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EWhen%20making%20a%20graph%20-%20I%20see%20it%20mostly%20in%20Fit%20Y%20by%20X%20but%20it%20does%20happen%20in%20others%2C%20when%20I%20add%20a%20row%20legend%20to%20a%20graph%2C%20JMP%20will%20create%20very%20long%20lists%20of%20legends%20when%20there%20are%20many%20categories.%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20we%20control%20the%20number%20of%20columns%20the%20legend%20comes%20out%20in%3F%20I%20would%20like%20JMP%20to%20dynamically%20match%20it%20to%20the%20height%20of%20the%20graph%20so%20that%20the%20legend%20isn't%20ever%20taller%20than%20the%20graph%20itself.%20I%20sometimes%20have%2020%2B%20categories%20in%20my%20legend%20and%20I%20haven't%20found%20a%20way%20to%20get%20a%20useful%20legend%20to%20show%20that%20isn't%20super%20long.%20This%20makes%20the%20report%20look%20less%20than%20great%20and%20is%20also%20a%20pain%20when%20you%20want%20to%20copy%20the%20graph%20somewhere%20else.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAttached%20is%20an%20image%20of%20an%20example%20of%20what%20I%20see%20and%20also%20an%20example%20of%20what%20a%20Fit%20Curve%20plot%20shows%2C%20which%20is%20a%20nicer%20layout%20with%20many%20categories.%20If%20there%20isn't%20any%20way%20to%20do%20this%2C%20that%20I've%20missed%2C%20I'll%20put%20it%20on%20the%20Wish%20List%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Acara_con_una_leve_sonrisa%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nathan-clark_0-1618320038175.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nathan-clark_0-1618320038175.png%22%20style%3D%22width%3A%20374px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nathan-clark_0-1618320038175.png%22%20style%3D%22width%3A%20374px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F32028i31DAAB5217D49048%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nathan-clark_0-1618320038175.png%22%20alt%3D%22nathan-clark_0-1618320038175.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nathan-clark_1-1618320148564.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nathan-clark_1-1618320148564.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nathan-clark_1-1618320148564.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F32029i04446CB9A130027E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nathan-clark_1-1618320148564.png%22%20alt%3D%22nathan-clark_1-1618320148564.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-376196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EGraphics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EScripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-376263%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Control%20Legend%20Layout%20%2F%20Length%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376263%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EAlso%20a%20good%20suggestion%20...%20for%20the%20'big%20picture'%20of%20this%20example%2C%20it%20may%20be%20possible%20but%20a%20little%20messier%20-%20but%20it%20could%20still%20work.%3CBR%20%2F%3E%3CBR%20%2F%3EBeyond%20that%2C%20it's%20a%20good%20general%20suggestion%20for%20the%20happy%20medium%20between%20statistics%20and%20display%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Acara_con_una_leve_sonrisa%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-376243%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Control%20Legend%20Layout%20%2F%20Length%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376243%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EI%20suggest%20that%20as%20you%20indicated%20that%20you%20will%20add%20the%20enhancement%20to%20the%20JMP%20Wish%20List.%3CBR%20%2F%3EAlso%2C%20at%20times%2C%20I%20will%20close%20the%20graph%20in%20Fit%20Y%20by%20X%20and%20use%20Graph%20Builder's%20image%20to%20display%20the%20results.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-376241%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Control%20Legend%20Layout%20%2F%20Length%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376241%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F2687%22%20target%3D%22_blank%22%3E%40txnelson%3C%2FA%3E%26nbsp%3BI%20will%20look%20into%20that%2C%20thanks!%20It%20could%20certainly%20help%20with%20this%20graph%2C%20but%20there%20are%20others%20where%20I%20need%20Fit%20Y%20by%20X%20because%20I%20also%20use%20some%20of%20the%20statistical%20portions%20of%20the%20platform.%20Which%20is%20why%20I%20think%20this%20would%20be%20a%20good%20'standard'%20for%20JMP%20to%20do%20when%20handling%20legends%20in%20general.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-376238%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Control%20Legend%20Layout%20%2F%20Length%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376238%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EYou%20may%20want%20to%20do%20this%20graph%20using%20Graph%20Builder%2C%20which%20does%20provide%20some%20Legend%20control.%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
nathan-clark
Level VI

Control Legend Layout / Length

When making a graph - I see it mostly in Fit Y by X but it does happen in others, when I add a row legend to a graph, JMP will create very long lists of legends when there are many categories.

Can we control the number of columns the legend comes out in? I would like JMP to dynamically match it to the height of the graph so that the legend isn't ever taller than the graph itself. I sometimes have 20+ categories in my legend and I haven't found a way to get a useful legend to show that isn't super long. This makes the report look less than great and is also a pain when you want to copy the graph somewhere else.

 

Attached is an image of an example of what I see and also an example of what a Fit Curve plot shows, which is a nicer layout with many categories. If there isn't any way to do this, that I've missed, I'll put it on the Wish List

 

Thanks!

 

nathan-clark_0-1618320038175.png

nathan-clark_1-1618320148564.png

 

 

4 REPLIES 4
txnelson
Super User

Re: Control Legend Layout / Length

You may want to do this graph using Graph Builder, which does provide some Legend control.
Jim
nathan-clark
Level VI

Re: Control Legend Layout / Length

@txnelson I will look into that, thanks! It could certainly help with this graph, but there are others where I need Fit Y by X because I also use some of the statistical portions of the platform. Which is why I think this would be a good 'standard' for JMP to do when handling legends in general.

txnelson
Super User

Re: Control Legend Layout / Length

I suggest that as you indicated that you will add the enhancement to the JMP Wish List.
Also, at times, I will close the graph in Fit Y by X and use Graph Builder's image to display the results.
Jim
nathan-clark
Level VI

Re: Control Legend Layout / Length

Also a good suggestion ... for the 'big picture' of this example, it may be possible but a little messier - but it could still work.

Beyond that, it's a good general suggestion for the happy medium between statistics and display

Thanks!

Recommended Articles