cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!

Discussions

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

Exclude Legend Items Based On Local Data Filter

I would like to exclude elements of the legend that are not relevant while using the local data filter. I'm looking for a way to automatically do this as unchecking in legend settings is not efficient because I am switching between multiple graphs via the local data filter.

See pic below:

For the current graph, only a few of the Y responses are used. I would like to automatically exclude the legend items without having to uncheck them in legend settings.

LatentWeasel104_1-1780685022161.png

 

2 REPLIES 2
jthi
Super User

Re: Exclude Legend Items Based On Local Data Filter

I would guess JMP will do it if you stack your data and then use that stacked data for the graph (note that you might have to remove those "extra rows" from the stacked data). Otherwise you will have to write a script using using Filter Change Handler.

-Jarmo

Re: Exclude Legend Items Based On Local Data Filter

I already have it arranged that way and I cannot stack due to the data types.

Recommended Articles