Hello Everyone!
I've been struggling recently with setting standard deviation intervals on my bar graphs when I use the overlay function (in graph builder). The script is attached below. However, when I use the "color" function instead, I am able to insert my standard error intervals. Does anyone know why this is happening? Any inputs would be much appreciated
Graph Builder(
Variables(
X( :Condition ),
Y( :VCaP % Recovery From Day 0 Avg ),
Overlay( :Condition )
),
Elements(
Bar(
X,
Y,
Legend( 8 ),
Error Interval( "Standard Deviation" ),
Label( "Label by Value" )
),
Caption Box( X, Y, Legend( 9 ), Summary Statistic( "N" ) )
),
SendToReport(
Dispatch(
{},
"VCaP % Recovery From Day 0 Avg",
ScaleBox,
{Min( 0.184582944951971 ), Max( 1.68175572067351 ), Inc( 0.2 ),
Minor Ticks( 1 ), Add Ref Line( 1.25, "Dashed", "Black", "125%", 1 ),
Add Ref Line( 0.7, "Dashed", "Black", "70%", 1 )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
8,
Properties( 0, {Fill Color( 10 )}, Item ID( "Standard", 1 ) ),
Properties( 1, {Fill Color( 24 )}, Item ID( "Upside-down", 1 ) ),
Properties( -1, {Fill Color( 10 )}, Item ID( "Mean", 1 ) ),
Properties( -1, {Fill Color( 24 )}, Item ID( "Test", 1 ) )
)}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "Mean VCaP % Recovery on Day 8" )}
),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "VCaP % Recovery" )} )
)
)