Hi,
I am trying to add percentages to each slice in my pie chart using graph builder with no success. I've tried playing with the summary statistic options shown in the bottom left in the screenshot with no luck. Why aren't the percentages showing up? How can I display them?
Thanks in advance!
I can create a graph similar to yours with an X Variable and a Wrap variable and set the # of levels per row to 1. So as @Thierry_S requests, please reveal your Variables.
I noticed that my labels do not appear if there is not enough room on the framebox. Here are a couple things to look for:
However, I a working on a PC and not a MAC, so as @txnelson suggested OS and JMP version might be relevant.
Names Default to Here(1);
dt = open("$sample_data/consumer preferences.jmp");
gb = dt << Graph Builder(
Size( 600, 729 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :Gender ), Wrap( :Single Status, Levels per Row( 1 ) ) ),
Elements( Pie( X, Legend( 5 ), Label( "Label by Percent of Total Values" ) ) )
)
@txnelson @gzmorgan0 @Thierry_S Thank you all for the help.
I was running JMP Pro 15.0 on Mac.
Your comments prompted me to update to 15.1, which resolved the problem immediately.