cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Stacked bar chart in graph builder?

Using the Chart function I can easily plot Big Class data as a stacked bar chart:
7908_Picture2.png

Chart( X( :age, :sex ), Y( N ), Stack Bars( 1 ), Bar Chart( 1 ) )

What script would build the equivalent chart using graph builder? I ask because the chart tool is limited to only 2 X Levels and I have another data set with 3 X levels that I need to plot in a similar fashion so I must use graph builder. Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Stacked bar chart in graph builder?

Graph Builder( Variables( X( :age ), Overlay( :sex ) ), Elements( Bar( X, Bar Style( "Stacked" ) ) ) );

View solution in original post

1 REPLY 1
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Stacked bar chart in graph builder?

Graph Builder( Variables( X( :age ), Overlay( :sex ) ), Elements( Bar( X, Bar Style( "Stacked" ) ) ) );

Recommended Articles