I can build a graph and add a horizontal mean line. When I try to extract the script it doesn't reproduce any line.
I have attached the script below
Graph Builder(
Size( 1964, 1192 ),
Variables( X( Column ), Y( Column ), Group X( Column_a ) ),
Elements( Bar( X, Y, Legend( 11 ) ), Line( Y, Legend( 12 ) ) ),
Local Data Filter(
Add Filter( columns( Column_a ), Where( Column >= 0 & Column_a <= 3.2 ) )
),
SendToReport(
Dispatch( {"Line"}, "", OutlineBox, {Close( 0 )} ),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
11,
Properties( 0, {Fill Color( 0 )}, Item ID( "Column", 1 ) )
)}
)
)
);