Hi y'all.
Is there a way to have the labels be different from the summary statistic in a stacked bar chart?
I basically want the bar chart to look like this script but instead of the labels being the raw count, I want it to be percentages of M/F per age.
Without drawing myself via scripting, (I can do it if that's the only way).
Names default to here( 1 );
dt = open("$SAMPLE_DATA\Big Class.jmp");
dt << Graph Builder(
Variables( X( :age ), Overlay( :sex ) ),
Elements(
Bar(
X,
Legend( 4 ),
Bar Style( "Stacked" ),
Summary Statistic( "N" ),
Label( "Label by Value" )
)
)
);