cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
ehchandlerjr
Level V

What does "stack" on Graph Builder actually do?

I was playing around with stack on line on graph builder. I assumed it just did some sort of simple offset, but now looking at it, it actually calculates different values. Here are two plots of the same data using the "% of Factor" summary statistic, but one with stack, and the other without. The change is dramatic. What is stack actually doing?

 

ehchandler_0-1701837139148.png

ehchandler_1-1701837158361.png

 

 

 

Edward Hamer Chandler, Jr.
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: What does "stack" on Graph Builder actually do?

It is more obvious if you compare it to Area chart

 

Line no stack

jthi_0-1701854041110.png

 

Line stack

jthi_1-1701854048139.png

 

Area stacked

jthi_2-1701854057181.png

Area overlaid

jthi_3-1701854071556.png

 

And most likely the useful case for Line and stack is when you also use Fill

jthi_4-1701854093924.png

 

-Jarmo

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: What does "stack" on Graph Builder actually do?

Here is the description of "Stack" taken from the Essential Graphing document found in the JMP Documentation Library

txnelson_0-1701838744762.png

 

Jim
ehchandlerjr
Level V

Re: What does "stack" on Graph Builder actually do?

So I had found the same documentation. But it doesn't answer why some plots look completely different after stacking, and I'm wondering if there are details about what stack actually does behind the scenes. It seems more than a simple offset.

Edward Hamer Chandler, Jr.
jthi
Super User

Re: What does "stack" on Graph Builder actually do?

It is more obvious if you compare it to Area chart

 

Line no stack

jthi_0-1701854041110.png

 

Line stack

jthi_1-1701854048139.png

 

Area stacked

jthi_2-1701854057181.png

Area overlaid

jthi_3-1701854071556.png

 

And most likely the useful case for Line and stack is when you also use Fill

jthi_4-1701854093924.png

 

-Jarmo